-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added mobile resolution scripts | Removed hardcoded url to use DEPLOY_HOST | Added pom selector for mobile #300
Conversation
…_HOST | Added pom selector for mobile
.expect(home.mobileMenu.exists).ok() | ||
.hover(home.mobileMenu) | ||
.click(home.mobileMenu, { speed: 0.5 }); | ||
await t |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use empty line between functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it, thank you.
Fixed.
await t | ||
.expect(header.challengesTopMenuLink.exists).ok() | ||
.expect(header.challengesTopMenuLink.innerText).contains('CHALLENGES'); | ||
await t |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
await t | ||
.expect(header.solutionsTopMenuLink.exists).ok() | ||
.expect(header.solutionsTopMenuLink.innerText).contains('SOLUTIONS'); | ||
await t |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
await t | ||
.expect(header.contactTopMenuLink.exists).ok() | ||
.expect(header.contactTopMenuLink.innerText).contains('CONTACT'); | ||
await t |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
@@ -34,4 +32,4 @@ test('Check user can submit "Request a demo" form with valid email address', asy | |||
visibilityCheck: true, | |||
}).visible).ok() | |||
.expect(Selector(requestDemoModal.responseText).innerText).contains('\nThank you for the interest in AdTechMedia WordPress Plugin\nPlease check your inbox to schedule your demo.\n'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get rid of that big line, you can split into new lines by functions like:
expect(
Selector(requestDemoModal.responseText).innerText)
.contains('\nThank you for the interest in AdTechMedia WordPress Plugin\nPlease check your inbox to schedule your demo.\n');```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it, thank you.
Fixed.
No description provided.