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

e2e for mobile data sync #9085

Merged
merged 1 commit into from
Oct 4, 2019
Merged

e2e for mobile data sync #9085

merged 1 commit into from
Oct 4, 2019

Conversation

churik
Copy link
Member

@churik churik commented Oct 1, 2019

Added 3 tests about mobile sync after fix #8973

@status-github-bot
Copy link

status-github-bot bot commented Oct 1, 2019

Pull Request Checklist

  • Docs: Updated the documentation, if affected
  • Docs: Added or updated inline comments explaining intention of the code
  • Tests: Ensured that all new UI elements have been assigned accessibility IDs
  • Tests: Signaled need for E2E tests with label, if applicable
  • Tests: Briefly described what was tested and what platforms were used
  • UI: In case of UI changes, ensured that UI matches Figma
  • UI: In case of UI changes, requested review from a Core UI designer
  • UI: In case of UI changes, included screenshots of implementation

@churik churik added the tests label Oct 1, 2019
@churik churik self-assigned this Oct 1, 2019
@churik churik requested a review from Serhy October 1, 2019 16:20
@status-im-auto
Copy link
Member

status-im-auto commented Oct 1, 2019

Jenkins Builds

Click to see older builds (18)
Commit #️⃣ Finished (UTC) Duration Platform Result
c1a2ee8 #1 2019-10-01 16:23:03 ~2 min macos 📄log
c1a2ee8 #1 2019-10-01 16:23:38 ~3 min linux 📄log
c1a2ee8 #1 2019-10-01 16:23:42 ~3 min windows 📄log
✔️ c1a2ee8 #1 2019-10-01 16:31:44 ~11 min ios 📦ipa 📲
✔️ c1a2ee8 #1 2019-10-01 16:33:43 ~13 min android 📦apk 📲
✔️ c1a2ee8 #1 2019-10-01 16:34:42 ~14 min android-e2e 📦apk 📲
✔️ 71db00c #2 2019-10-02 16:58:43 ~9 min ios 📦ipa 📲
✔️ 71db00c #2 2019-10-02 17:01:29 ~12 min linux 📦App
✔️ 71db00c #2 2019-10-02 17:02:26 ~13 min macos 📦dmg
✔️ 71db00c #2 2019-10-02 17:03:04 ~13 min android 📦apk 📲
✔️ 71db00c #2 2019-10-02 17:03:40 ~14 min android-e2e 📦apk 📲
✔️ 71db00c #2 2019-10-02 17:05:06 ~15 min windows 📦exe
✔️ 9eb71a6 #3 2019-10-03 08:33:41 ~10 min ios 📦ipa 📲
✔️ 9eb71a6 #3 2019-10-03 08:36:46 ~13 min android 📦apk 📲
✔️ 9eb71a6 #3 2019-10-03 08:36:53 ~13 min macos 📦dmg
✔️ 9eb71a6 #3 2019-10-03 08:37:18 ~13 min linux 📦App
✔️ 9eb71a6 #3 2019-10-03 08:37:18 ~13 min android-e2e 📦apk 📲
✔️ 9eb71a6 #3 2019-10-03 08:38:24 ~14 min windows 📦exe
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 8b57a9c #5 2019-10-03 16:21:30 ~9 min ios 📦ipa 📲
✔️ 8b57a9c #5 2019-10-03 16:24:26 ~12 min macos 📦dmg
✔️ 8b57a9c #5 2019-10-03 16:32:50 ~20 min android-e2e 📦apk 📲
✔️ 8b57a9c #5 2019-10-03 16:35:06 ~23 min linux 📦App
✔️ 8b57a9c #5 2019-10-03 16:35:19 ~23 min android 📦apk 📲
✔️ 8b57a9c #5 2019-10-03 16:36:13 ~24 min windows 📦exe
✔️ da4fb01 #6 2019-10-04 10:27:17 ~13 min android-e2e 📦apk 📲

@churik churik changed the title Finished test_mobile_data_usage_popup_continue_syncing e2e for mobile data sync Oct 2, 2019
@churik churik requested a review from Serhy October 3, 2019 08:03
Comment on lines +54 to +56
if not chat.chat_element_by_text(message).is_element_displayed():
self.errors.append("Message was not sent!")
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd check here the message status after it sent rather than message itself

Copy link
Member Author

Choose a reason for hiding this comment

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

It makes more sense on IOS, on Android you can't even send a message from offline.
But I can add check

Copy link
Contributor

@antdanchenko antdanchenko Oct 3, 2019

Choose a reason for hiding this comment

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

also, please add self.verify_no_errors() in the end of the test

@Serhy
Copy link
Contributor

Serhy commented Oct 3, 2019

Well done, @churik!

self.errors.append("Mobile data is enabled by default")
if not profile_view.ask_me_when_on_mobile_network.attribute_value("checked"):
self.errors.append("'Ask me when on mobile network' is not enabled by default")

Copy link
Contributor

Choose a reason for hiding this comment

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

please, add self.verify_no_errors()

Copy link
Member Author

Choose a reason for hiding this comment

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

thx, added.

Copy link
Contributor

@antdanchenko antdanchenko left a comment

Choose a reason for hiding this comment

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

There will be no verification in a test which does self.errors.append('whatever') if self.verify_no_errors() is not added in the end of this test

@churik churik force-pushed the tests/mobile-popup branch 2 times, most recently from 1399d78 to 8b57a9c Compare October 3, 2019 16:11
@churik
Copy link
Member Author

churik commented Oct 3, 2019

@antdanchenko thanks for stepping in!
completely forgot about it.
Addressed, please take a look

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Mobile data syncing pop-up missing text
4 participants