Skip to content

Commit b79dd93

Browse files
committed
Fixed orders spec
1 parent 333cdc4 commit b79dd93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/specs/plain/orders.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('Order a product', () => {
1919
$(".float-cart__close-btn").click();
2020

2121
$("//p[text() = 'Galaxy S20']/../div[@class = 'shelf-item__buy-btn']").click();
22-
$(".buy-btn").waitForDisplayed({ timeout: 5000 });
22+
$(".buy-btn").waitForClickable({ timeout: 5000 });
2323
$(".buy-btn").click();
2424

2525
$("#firstNameInput").setValue("firstname");

0 commit comments

Comments
 (0)