Skip to content

Adapt the new architecture on google adwords module - #2

Open
hatem-hadrich wants to merge 5 commits into
masterfrom
google_adwords
Open

Adapt the new architecture on google adwords module#2
hatem-hadrich wants to merge 5 commits into
masterfrom
google_adwords

Conversation

@hatem-hadrich

Copy link
Copy Markdown
Owner

This PR add test case for google adwords module.

Comment thread test/clients/gadwords-client.js Outdated
.waitForExist(selector.BO.ModuleGoogleAdwords.voucher_input, 90000)
.then(() => this.client.getText(selector.BO.ModuleGoogleAdwords.voucher_input))
.then((voucher) => {
if(voucher == ""){

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use strict equality
voucher === ""

and format your code (condition is surrounded by spaces)

Comment thread test/clients/common_client.js Outdated
.setValue(selector.FO.CheckoutPage.PersonalInformationSection.first_name_input, 'John')
.setValue(selector.FO.CheckoutPage.PersonalInformationSection.last_name_input, 'Doe')
.setValue(selector.FO.CheckoutPage.PersonalInformationSection.email_guest_input, 'pub@prestashop.com')
//.click(selector.FO.CheckoutPage.PersonalInformationSection.customer_privacy_checkbox)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove useless comment

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