Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Apr 30, 2024
1 parent 40802a4 commit b734b01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Browser/DetailActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function test_actions_that_cannot_be_ran_are_disabled()
$this->browse(function (Browser $browser) {
$subscribers = SubscriberFactory::new()->times(5)->create();

$browser->loginAs(1)
$browser->loginAs(4)
->visit(new Detail('subscribers', $subscribers[0]->id))
->openControlSelector()
->elsewhereWhenAvailable(new ActionDropdownComponent(), function ($browser) {
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/IndexActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function test_actions_that_cannot_be_ran_are_disabled()
$this->browse(function (Browser $browser) {
$subscribers = SubscriberFactory::new()->times(5)->create();

$browser->loginAs(1)
$browser->loginAs(4)
->visit(new Index('subscribers'))
->within(new IndexComponent('subscribers'), function ($browser) use ($subscribers) {
$browser->waitForTable()
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/ResourceTableSelectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function test_select_all_dropdown_and_checkboxes_are_missing_when_not_aut
SubscriberFactory::new()->times(5)->create();

$this->browse(function (Browser $browser) {
$browser->loginAs(4)
$browser->loginAs(3)
->visit(new Index('subscribers'))
->within(new IndexComponent('subscribers'), function ($browser) {
$browser->waitForTable()
Expand Down

0 comments on commit b734b01

Please sign in to comment.