Skip to content
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

Merged
merged 3 commits into from
Jul 31, 2017

Conversation

avozicov
Copy link
Contributor

No description provided.

.expect(home.mobileMenu.exists).ok()
.hover(home.mobileMenu)
.click(home.mobileMenu, { speed: 0.5 });
await t
Copy link
Contributor

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

Copy link
Contributor Author

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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');
Copy link
Contributor

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');```

Copy link
Contributor Author

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.

@grigoreme grigoreme merged commit 586248b into dev Jul 31, 2017
@ddimitrioglo ddimitrioglo deleted the e2e_tests branch August 2, 2017 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants