Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

test(suite_settings): mayfail tag removed for pass tests #10265

Merged
merged 1 commit into from
May 3, 2023

Conversation

squ1sher
Copy link
Contributor

@squ1sher squ1sher commented Apr 11, 2023

@status-im-auto
Copy link
Member

status-im-auto commented Apr 11, 2023

Jenkins Builds

Click to see older builds (133)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ c428566 #1 2023-04-11 21:10:09 ~6 min tests/nim 📄log
✔️ c428566 #1 2023-04-11 21:10:53 ~6 min tests/imports 📄log
✔️ c428566 #1 2023-04-11 21:16:44 ~12 min linux/x86_64 📦tgz
✔️ c428566 #1 2023-04-11 21:22:34 ~18 min tests/e2e 📄log
✔️ c428566 #1 2023-04-11 21:24:26 ~20 min macos/x86_64 🍎dmg
✔️ c428566 #1 2023-04-11 21:30:46 ~26 min windows/x86_64 💿exe
✔️ d986e5c #2 2023-04-12 19:43:32 ~10 min tests/imports 📄log
✔️ d986e5c #2 2023-04-12 19:44:22 ~11 min macos/x86_64 🍎dmg
✔️ d986e5c #2 2023-04-12 19:44:54 ~11 min tests/nim 📄log
✔️ d986e5c #2 2023-04-12 19:47:55 ~14 min linux/x86_64 📦tgz
✔️ d986e5c #2 2023-04-12 19:55:40 ~22 min tests/e2e 📄log
✔️ d986e5c #2 2023-04-12 19:59:46 ~26 min windows/x86_64 💿exe
✔️ d986e5c #3 2023-04-13 15:02:29 ~8 min macos/x86_64 🍎dmg
✔️ d986e5c #3 2023-04-13 15:09:43 ~15 min linux/x86_64 📦tgz
✔️ d986e5c #3 2023-04-13 15:15:43 ~21 min tests/nim 📄log
✔️ d986e5c #3 2023-04-13 15:16:23 ~22 min tests/imports 📄log
✔️ d986e5c #3 2023-04-13 15:19:01 ~24 min tests/e2e 📄log
✔️ d986e5c #3 2023-04-13 15:27:57 ~33 min windows/x86_64 💿exe
✔️ 09e4e45 #4 2023-04-13 15:41:50 ~6 min tests/imports 📄log
✔️ 09e4e45 #4 2023-04-13 15:41:55 ~6 min tests/nim 📄log
✔️ 09e4e45 #4 2023-04-13 15:44:47 ~9 min macos/x86_64 🍎dmg
✔️ 09e4e45 #4 2023-04-13 15:47:54 ~12 min linux/x86_64 📦tgz
✔️ 09e4e45 #4 2023-04-13 15:52:45 ~17 min tests/e2e 📄log
✔️ 09e4e45 #4 2023-04-13 16:06:48 ~31 min windows/x86_64 💿exe
✔️ 09e4e45 #1 2023-04-14 12:42:57 ~28 min macos/aarch64 🍎dmg
✔️ 16c600b #5 2023-04-14 15:49:49 ~5 min tests/nim 📄log
✔️ 16c600b #5 2023-04-14 15:50:05 ~5 min tests/imports 📄log
✔️ 16c600b #2 2023-04-14 15:50:23 ~5 min macos/aarch64 🍎dmg
✔️ 16c600b #5 2023-04-14 15:53:05 ~8 min macos/x86_64 🍎dmg
✔️ 16c600b #5 2023-04-14 15:56:31 ~11 min linux/x86_64 📦tgz
✔️ 16c600b #5 2023-04-14 16:04:40 ~19 min tests/e2e 📄log
✔️ 16c600b #5 2023-04-14 16:12:14 ~27 min windows/x86_64 💿exe
✔️ 26db44d #6 2023-04-19 20:16:53 ~4 min tests/imports 📄log
✔️ 26db44d #6 2023-04-19 20:17:12 ~4 min tests/nim 📄log
✔️ 26db44d #3 2023-04-19 20:19:56 ~7 min macos/aarch64 🍎dmg
✔️ 26db44d #6 2023-04-19 20:26:41 ~14 min linux/x86_64 📦tgz
✔️ 26db44d #6 2023-04-19 20:29:12 ~16 min macos/x86_64 🍎dmg
✔️ 92e83d9 #7 2023-04-19 20:34:11 ~4 min tests/imports 📄log
✔️ 92e83d9 #7 2023-04-19 20:34:44 ~5 min tests/nim 📄log
✔️ 92e83d9 #4 2023-04-19 20:35:09 ~5 min macos/aarch64 🍎dmg
✔️ 92e83d9 #7 2023-04-19 20:37:44 ~8 min macos/x86_64 🍎dmg
✔️ 92e83d9 #7 2023-04-19 20:43:36 ~13 min linux/x86_64 📦tgz
✔️ 92e83d9 #7 2023-04-19 20:47:15 ~17 min tests/e2e 📄log
✔️ 92e83d9 #8 2023-04-20 12:19:06 ~4 min tests/nim 📄log
✔️ 92e83d9 #8 2023-04-20 12:19:51 ~5 min tests/imports 📄log
✔️ 92e83d9 #5 2023-04-20 12:20:34 ~6 min macos/aarch64 🍎dmg
✔️ 92e83d9 #8 2023-04-20 12:25:33 ~11 min macos/x86_64 🍎dmg
✔️ 92e83d9 #8 2023-04-20 12:26:48 ~12 min linux/x86_64 📦tgz
✔️ 92e83d9 #1 2023-04-20 12:36:49 ~22 min tests/e2e 📄log
✔️ 92e83d9 #8 2023-04-20 12:43:23 ~29 min windows/x86_64 💿exe
✔️ 192695b #9 2023-04-20 18:58:43 ~4 min tests/imports 📄log
✔️ 192695b #9 2023-04-20 18:59:05 ~5 min tests/nim 📄log
✔️ 192695b #6 2023-04-20 19:01:31 ~7 min macos/aarch64 🍎dmg
✔️ 192695b #9 2023-04-20 19:02:47 ~8 min macos/x86_64 🍎dmg
✔️ 192695b #9 2023-04-20 19:07:00 ~13 min linux/x86_64 📦tgz
✔️ 192695b #9 2023-04-20 19:21:19 ~27 min windows/x86_64 💿exe
✔️ 97bb410 #10 2023-04-24 21:06:57 ~4 min tests/nim 📄log
✔️ 97bb410 #10 2023-04-24 21:07:25 ~5 min tests/imports 📄log
✔️ 97bb410 #7 2023-04-24 21:08:12 ~5 min macos/aarch64 🍎dmg
✔️ 97bb410 #10 2023-04-24 21:11:05 ~8 min macos/x86_64 🍎dmg
✔️ 97bb410 #10 2023-04-24 21:14:52 ~12 min linux/x86_64 📦tgz
✔️ 97bb410 #10 2023-04-24 21:26:00 ~23 min windows/x86_64 💿exe
✔️ 0150b39 #11 2023-04-24 22:32:12 ~4 min tests/nim 📄log
✔️ 0150b39 #11 2023-04-24 22:32:16 ~4 min tests/imports 📄log
✔️ 0150b39 #8 2023-04-24 22:33:16 ~5 min macos/aarch64 🍎dmg
✔️ 0150b39 #11 2023-04-24 22:35:32 ~8 min macos/x86_64 🍎dmg
✔️ 0150b39 #11 2023-04-24 22:40:34 ~13 min linux/x86_64 📦tgz
✔️ 0150b39 #11 2023-04-24 22:49:56 ~22 min windows/x86_64 💿exe
✔️ 0150b39 #4 2023-04-24 22:53:35 ~26 min tests/e2e 📄log
✔️ f77a4ad #12 2023-04-25 20:18:33 ~5 min tests/imports 📄log
✔️ f77a4ad #12 2023-04-25 20:18:39 ~5 min tests/nim 📄log
✔️ f77a4ad #9 2023-04-25 20:20:51 ~7 min macos/aarch64 🍎dmg
✔️ f77a4ad #12 2023-04-25 20:23:17 ~9 min macos/x86_64 🍎dmg
✔️ f77a4ad #12 2023-04-25 20:25:51 ~12 min linux/x86_64 📦tgz
✔️ f77a4ad #5 2023-04-25 20:40:31 ~27 min tests/e2e 📄log
✔️ f77a4ad #12 2023-04-25 20:42:08 ~28 min windows/x86_64 💿exe
✔️ d96d652 #13 2023-04-26 16:38:56 ~5 min tests/nim 📄log
✔️ d96d652 #13 2023-04-26 16:39:01 ~5 min tests/imports 📄log
✔️ d96d652 #10 2023-04-26 16:39:37 ~6 min macos/aarch64 🍎dmg
✔️ d96d652 #13 2023-04-26 16:43:20 ~9 min macos/x86_64 🍎dmg
✔️ d96d652 #13 2023-04-26 16:45:21 ~11 min linux/x86_64 📦tgz
✔️ d96d652 #13 2023-04-26 17:06:14 ~32 min windows/x86_64 💿exe
✔️ 1b9e044 #14 2023-04-26 21:27:55 ~4 min tests/imports 📄log
✔️ 1b9e044 #14 2023-04-26 21:29:11 ~5 min tests/nim 📄log
✔️ 1b9e044 #11 2023-04-26 21:29:52 ~6 min macos/aarch64 🍎dmg
✔️ 1b9e044 #14 2023-04-26 21:32:19 ~8 min macos/x86_64 🍎dmg
✔️ a74f191 #16 2023-04-26 21:41:29 ~5 min tests/imports 📄log
✔️ a74f191 #16 2023-04-26 21:42:11 ~5 min tests/nim 📄log
✔️ a74f191 #13 2023-04-26 21:42:44 ~6 min macos/aarch64 🍎dmg
✔️ a74f191 #16 2023-04-26 21:47:50 ~11 min macos/x86_64 🍎dmg
✔️ a74f191 #16 2023-04-26 21:51:22 ~15 min linux/x86_64 📦tgz
✔️ 44c5807 #17 2023-04-27 11:40:17 ~5 min tests/imports 📄log
✔️ 44c5807 #17 2023-04-27 11:41:23 ~6 min tests/nim 📄log
✔️ 44c5807 #14 2023-04-27 11:43:05 ~8 min macos/aarch64 🍎dmg
✔️ 44c5807 #17 2023-04-27 11:46:27 ~12 min macos/x86_64 🍎dmg
✔️ 44c5807 #17 2023-04-27 11:48:43 ~14 min linux/x86_64 📦tgz
✔️ 44c5807 #17 2023-04-27 12:05:26 ~30 min windows/x86_64 💿exe
✔️ 5a6daf2 #18 2023-04-27 16:44:52 ~5 min tests/imports 📄log
✔️ 5a6daf2 #18 2023-04-27 16:45:10 ~5 min tests/nim 📄log
✔️ 5a6daf2 #15 2023-04-27 16:48:09 ~8 min macos/aarch64 🍎dmg
✔️ 5a6daf2 #18 2023-04-27 16:49:47 ~10 min macos/x86_64 🍎dmg
✔️ c9035cf #19 2023-04-27 17:33:52 ~4 min tests/imports 📄log
✔️ c9035cf #19 2023-04-27 17:34:59 ~5 min tests/nim 📄log
✔️ c9035cf #16 2023-04-27 17:35:29 ~6 min macos/aarch64 🍎dmg
✔️ c9035cf #19 2023-04-27 17:37:10 ~7 min macos/x86_64 🍎dmg
✔️ c9035cf #19 2023-04-27 17:42:58 ~13 min linux/x86_64 📦tgz
✔️ c9035cf #19 2023-04-27 17:56:07 ~26 min windows/x86_64 💿exe
✖️ c9035cf #14 2023-04-28 09:51:19 ~31 min tests/e2e 📄log
✔️ e4765e7 #20 2023-04-28 10:18:02 ~4 min tests/imports 📄log
✔️ e4765e7 #20 2023-04-28 10:19:51 ~6 min tests/nim 📄log
✔️ e4765e7 #20 2023-04-28 10:21:53 ~8 min macos/x86_64 🍎dmg
✔️ e4765e7 #17 2023-04-28 10:22:31 ~9 min macos/aarch64 🍎dmg
✔️ e4765e7 #20 2023-04-28 10:27:06 ~13 min linux/x86_64 📦tgz
✔️ e4765e7 #20 2023-04-28 10:44:43 ~31 min windows/x86_64 💿exe
✔️ fd4882c #21 2023-04-28 14:03:01 ~5 min tests/imports 📄log
✔️ fd4882c #21 2023-04-28 14:03:39 ~5 min tests/nim 📄log
✔️ fd4882c #18 2023-04-28 14:05:05 ~7 min macos/aarch64 🍎dmg
✔️ fd4882c #21 2023-04-28 14:09:00 ~11 min macos/x86_64 🍎dmg
✔️ fd4882c #21 2023-04-28 14:11:13 ~13 min linux/x86_64 📦tgz
✔️ fd4882c #21 2023-04-28 14:23:29 ~25 min windows/x86_64 💿exe
✔️ 447e99c #22 2023-04-28 15:37:00 ~5 min tests/imports 📄log
✔️ 447e99c #22 2023-04-28 15:38:07 ~6 min tests/nim 📄log
✔️ 447e99c #19 2023-04-28 15:40:25 ~8 min macos/aarch64 🍎dmg
✔️ 447e99c #22 2023-04-28 15:40:52 ~9 min macos/x86_64 🍎dmg
✔️ 447e99c #22 2023-04-28 15:45:35 ~14 min linux/x86_64 📦tgz
✔️ 447e99c #22 2023-04-28 15:55:44 ~24 min windows/x86_64 💿exe
✖️ 447e99c #18 2023-04-28 15:58:07 ~26 min tests/e2e 📄log
✔️ 2a4a089 #23 2023-04-28 17:19:55 ~4 min tests/imports 📄log
✔️ 2a4a089 #20 2023-04-28 17:21:14 ~6 min macos/aarch64 🍎dmg
✔️ 2a4a089 #23 2023-04-28 17:22:18 ~7 min tests/nim 📄log
✔️ 2a4a089 #23 2023-04-28 17:23:37 ~8 min macos/x86_64 🍎dmg
✔️ 2a4a089 #23 2023-04-28 17:29:53 ~15 min linux/x86_64 📦tgz
✔️ 2a4a089 #23 2023-04-28 17:41:30 ~26 min windows/x86_64 💿exe
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 7abe164 #24 2023-05-03 10:58:49 ~5 min tests/imports 📄log
✔️ 7abe164 #24 2023-05-03 10:59:57 ~6 min tests/nim 📄log
✔️ 7abe164 #21 2023-05-03 11:00:54 ~7 min macos/aarch64 🍎dmg
✔️ 7abe164 #24 2023-05-03 11:06:58 ~13 min linux/x86_64 📦tgz
✔️ 7abe164 #24 2023-05-03 11:23:54 ~30 min windows/x86_64 💿exe
✔️ 846035c #25 2023-05-03 12:06:20 ~5 min tests/imports 📄log
✔️ 846035c #25 2023-05-03 12:07:40 ~6 min tests/nim 📄log
✔️ 846035c #22 2023-05-03 12:08:38 ~7 min macos/aarch64 🍎dmg
✔️ 846035c #25 2023-05-03 12:10:08 ~8 min macos/x86_64 🍎dmg
✔️ 846035c #25 2023-05-03 12:30:46 ~29 min windows/x86_64 💿exe
✔️ 846035c #22 2023-05-03 12:31:49 ~30 min tests/e2e 📄log
✔️ 846035c #26 2023-05-03 13:11:18 ~13 min linux/x86_64 📦tgz

@squ1sher
Copy link
Contributor Author

@squ1sher squ1sher linked an issue Apr 12, 2023 that may be closed by this pull request
@squ1sher squ1sher force-pushed the test/8279-fix-backup-seed-phrase branch from 9bac845 to 26e0d6d Compare April 12, 2023 19:28
@squ1sher squ1sher force-pushed the test/9284-enable-suite-settings branch from c428566 to d986e5c Compare April 12, 2023 19:32
Base automatically changed from test/8279-fix-backup-seed-phrase to master April 13, 2023 14:53
@squ1sher squ1sher force-pushed the test/9284-enable-suite-settings branch from d986e5c to 09e4e45 Compare April 13, 2023 15:34
Copy link
Contributor

@noeliaSD noeliaSD left a comment

Choose a reason for hiding this comment

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

The test The user add a contact with a chat key works locally for me but the ones from tst_mainSettinsSection that switches state from offline/online don't.

The behavior is a bit random, sometimes one passes sometimes fails.. There are no tests runtime errors neither lookup errors it is just that the verification fails bc the expected status is wrong. So the tests seem to be ok, but the app behavior no. It should be online/offline but it isn't.

Here one example of failure:

Screenshot 2023-04-14 at 09 48 28

  • Screenshot when it should be offline:
    failed_1

  • Screenshot when it should be online:
    failed_2

I'm wondering at this point that maybe the app has a bugs on this functionality. I suggest to test some times manually to see if it is only reproducible with automation.

@squ1sher squ1sher force-pushed the test/9284-enable-suite-settings branch 2 times, most recently from 16c600b to 26db44d Compare April 19, 2023 20:12
@squ1sher
Copy link
Contributor Author

The test The user add a contact with a chat key works locally for me but the ones from tst_mainSettinsSection that switches state from offline/online don't.

The behavior is a bit random, sometimes one passes sometimes fails.. There are no tests runtime errors neither lookup errors it is just that the verification fails bc the expected status is wrong. So the tests seem to be ok, but the app behavior no. It should be online/offline but it isn't.

Here one example of failure:

Screenshot 2023-04-14 at 09 48 28

  • Screenshot when it should be offline:
    failed_1
  • Screenshot when it should be online:
    failed_2

I'm wondering at this point that maybe the app has a bugs on this functionality. I suggest to test some times manually to see if it is only reproducible with automation.

@squ1sher squ1sher closed this Apr 19, 2023
@squ1sher
Copy link
Contributor Author

The test The user add a contact with a chat key works locally for me but the ones from tst_mainSettinsSection that switches state from offline/online don't.

The behavior is a bit random, sometimes one passes sometimes fails.. There are no tests runtime errors neither lookup errors it is just that the verification fails bc the expected status is wrong. So the tests seem to be ok, but the app behavior no. It should be online/offline but it isn't.

Here one example of failure:

Screenshot 2023-04-14 at 09 48 28

  • Screenshot when it should be offline:
    failed_1
  • Screenshot when it should be online:
    failed_2

I'm wondering at this point that maybe the app has a bugs on this functionality. I suggest to test some times manually to see if it is only reproducible with automation.

@noeliaSD , fixed. could you please test on your local machine?

@squ1sher squ1sher reopened this Apr 20, 2023
@noeliaSD
Copy link
Contributor

The test The user add a contact with a chat key works locally for me but the ones from tst_mainSettinsSection that switches state from offline/online don't.
The behavior is a bit random, sometimes one passes sometimes fails.. There are no tests runtime errors neither lookup errors it is just that the verification fails bc the expected status is wrong. So the tests seem to be ok, but the app behavior no. It should be online/offline but it isn't.
Here one example of failure:
Screenshot 2023-04-14 at 09 48 28

  • Screenshot when it should be offline:
    failed_1
  • Screenshot when it should be online:
    failed_2

I'm wondering at this point that maybe the app has a bugs on this functionality. I suggest to test some times manually to see if it is only reproducible with automation.

@noeliaSD , fixed. could you please test on your local machine?

I still have the same issues randomly happening locally and screenshots really say that the state is not the correct one.. Again, maybe it is a real issue in the app.. ?!

And regarding the test that changes the password, I also have some random failures but I think this case is due to timeouts, bc when restarting, or when changing the password, or when login again, it takes several time and I think the test sometimes doesn't wait enough time!

@squ1sher
Copy link
Contributor Author

The test The user add a contact with a chat key works locally for me but the ones from tst_mainSettinsSection that switches state from offline/online don't.
The behavior is a bit random, sometimes one passes sometimes fails.. There are no tests runtime errors neither lookup errors it is just that the verification fails bc the expected status is wrong. So the tests seem to be ok, but the app behavior no. It should be online/offline but it isn't.
Here one example of failure:
Screenshot 2023-04-14 at 09 48 28

  • Screenshot when it should be offline:
    failed_1
  • Screenshot when it should be online:
    failed_2

I'm wondering at this point that maybe the app has a bugs on this functionality. I suggest to test some times manually to see if it is only reproducible with automation.

@noeliaSD , fixed. could you please test on your local machine?

I still have the same issues randomly happening locally and screenshots really say that the state is not the correct one.. Again, maybe it is a real issue in the app.. ?!

And regarding the test that changes the password, I also have some random failures but I think this case is due to timeouts, bc when restarting, or when changing the password, or when login again, it takes several time and I think the test sometimes doesn't wait enough time!

It should work, it is not a bug, because it works on my machine, so I increased waitFor to 5 sec, please rerun the test

@squ1sher squ1sher force-pushed the test/9284-enable-suite-settings branch 3 times, most recently from 0150b39 to f77a4ad Compare April 25, 2023 20:12
Copy link
Contributor

@glitchminer glitchminer left a comment

Choose a reason for hiding this comment

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

@StateOf-Vlado, I've sent you an export of the results. I had failures in the following:

TestCase tst_mainSettingsSection

  • Scenario The user can backup seed phrase
  • Scenario The user can switch state to online
  • Scenario The user can change the password and login with new password

TestCase tst_userIdentity

  • ScenarioOutline The user sets display name, bio and social links

TestCase tst_contactsFlow

  • Scenario The user can add a contact from the chat

@squ1sher squ1sher force-pushed the test/9284-enable-suite-settings branch 11 times, most recently from 2a4a089 to 7abe164 Compare May 3, 2023 10:53
@squ1sher squ1sher force-pushed the test/9284-enable-suite-settings branch from 7abe164 to 846035c Compare May 3, 2023 12:00
@squ1sher squ1sher changed the title test(suite_settings): mayfail tag remover for pass tests test(suite_settings): mayfail tag removed for pass tests May 3, 2023
@squ1sher squ1sher requested a review from glitchminer May 3, 2023 14:36
Copy link
Contributor

@noeliaSD noeliaSD left a comment

Choose a reason for hiding this comment

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

Last tries on my local machine passed!

test/ui-test/src/screens/StatusMainScreen.py Outdated Show resolved Hide resolved
@squ1sher
Copy link
Contributor Author

squ1sher commented May 3, 2023

@StateOf-Vlado, I've sent you an export of the results. I had failures in the following:

TestCase tst_mainSettingsSection

  • Scenario The user can backup seed phrase
  • Scenario The user can switch state to online
  • Scenario The user can change the password and login with new password

TestCase tst_userIdentity

  • ScenarioOutline The user sets display name, bio and social links

TestCase tst_contactsFlow

  • Scenario The user can add a contact from the chat

fixed

@squ1sher
Copy link
Contributor Author

squ1sher commented May 3, 2023

@StateOf-Vlado, I've sent you an export of the results. I had failures in the following:

TestCase tst_mainSettingsSection

  • Scenario The user can backup seed phrase
  • Scenario The user can switch state to online
  • Scenario The user can change the password and login with new password

TestCase tst_userIdentity

  • ScenarioOutline The user sets display name, bio and social links

TestCase tst_contactsFlow

  • Scenario The user can add a contact from the chat

@glitchminer test the current solution, is it reproduced now?

Copy link
Contributor

@glitchminer glitchminer left a comment

Choose a reason for hiding this comment

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

@StateOf-Vlado , for a while I got a similar intermittent result like @noeliaSD, but running 1 at a time seems OK.

@squ1sher squ1sher merged commit 7ec7047 into master May 3, 2023
@squ1sher squ1sher deleted the test/9284-enable-suite-settings branch May 3, 2023 16:23
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[suite_settings] Review and enable broken / skiped tests
6 participants