Skip to content

[UI Tests] - Re-enable e2eSendButtonEnabledWhenTextIsEntered test#17312

Merged
jostnes merged 3 commits intotrunkfrom
uitii-support-send-button-test
Oct 13, 2022
Merged

[UI Tests] - Re-enable e2eSendButtonEnabledWhenTextIsEntered test#17312
jostnes merged 3 commits intotrunkfrom
uitii-support-send-button-test

Conversation

@jostnes
Copy link
Copy Markdown
Contributor

@jostnes jostnes commented Oct 12, 2022

Closes: #17281

What

Re-enable "e2eSendButtonEnabledWhenTextIsEntered" tests, this needed a new wait on the support screen to make this work in FTL. The test worked in the local emulator but was failing in FTL because of a loading issue, looks like the fix was to wait for an element on the support screen before continuing the test

Testing

e2eSendButtonEnabledWhenTextIsEntered test should pass locally and in CI/FTL

@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented Oct 12, 2022

Jetpack📲 You can test these changes on Jetpack by downloading jetpack-installable-build-pr17312-a4186d6.apk
💡 Scan this QR code with your Android phone to download and install the APK directly on it.
AppJetpack
Build FlavorJalapeno
Build TypeDebug
Commita4186d6
Note: This installable build uses the JalapenoDebug build flavor, and does not support Google Login.

@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented Oct 12, 2022

WordPress📲 You can test these changes on WordPress by downloading wordpress-installable-build-pr17312-a4186d6.apk
💡 Scan this QR code with your Android phone to download and install the APK directly on it.
AppWordPress
Build FlavorJalapeno
Build TypeDebug
Commita4186d6
Note: This installable build uses the JalapenoDebug build flavor, and does not support Google Login.

@jostnes jostnes changed the title [UI Tests] - Draft PR please ignore [UI Tests] - Re-enable e2eSendButtonEnabledWhenTextIsEntered test Oct 13, 2022
@jostnes jostnes marked this pull request as ready for review October 13, 2022 03:08
@jostnes jostnes requested a review from a team as a code owner October 13, 2022 03:08

// Assertions:
public ContactSupportScreen assertContactSupportScreenLoaded() {
waitForElementToBeDisplayed(inputTextField);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I wonder if this will work on FTL? (it does locally)

Suggested change
waitForElementToBeDisplayed(inputTextField);
waitForElementToBeDisplayed(textInput);

Then we won't need the inputTextField added above.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch, it does work! (FTL test run).

Change made here: a4186d6

@jostnes jostnes added UI Tests Anything related to automated UI Tests. [Type] Task labels Oct 13, 2022
@jostnes jostnes added this to the 21.0 milestone Oct 13, 2022
@pachlava pachlava self-requested a review October 13, 2022 09:47
Copy link
Copy Markdown
Contributor

@pachlava pachlava left a comment

Choose a reason for hiding this comment

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

Let it go run @jostnes! :shipit:

@jostnes jostnes merged commit e15fada into trunk Oct 13, 2022
@jostnes jostnes deleted the uitii-support-send-button-test branch October 13, 2022 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Task UI Tests Anything related to automated UI Tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UI Tests] - Re-enable disabled UI Tests

3 participants