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

js: remove unused visual tests and detox package #16372

Merged
merged 1 commit into from
Jun 26, 2023
Merged

Conversation

yakimant
Copy link
Member

@yakimant yakimant commented Jun 23, 2023

Summary

After the nixpkgs upgrade we started to have Xcode command line tools installation popup on each make test, dtrace-provider was failing meanwhile:
#16356 (comment)

It appeared, that it was failing before the upgrade with different issue:
#16356 (comment)

dtrace-provider is a dependency for detox, which was added for visiual tests in #14329
These tests don't run.

This build issues didn't cause any problems, because it was not obligatary.
See NODE_DTRACE_PROVIDER_REQUIRE option, which can enforce this requirement.

See #16356 for more details.

In this PR we disable detox dependency for now.
And also Visual Tests.

Review notes

There are many libs removed from yarn.lock.
Looks a bit suspicious, or maybe it's just detox has so many dependencies.

status: ready

@J-Son89
Copy link
Contributor

J-Son89 commented Jun 23, 2023

Can you also remove .detoxrc.js as it is redundant if the dependency is not in the codebase.

Additionally you can remove folder:
visual-test

I think that's all there is to visual tests.

@J-Son89
Copy link
Contributor

J-Son89 commented Jun 23, 2023

actually there is also some scripts in the Make file ->

run-visual-test-ios: export TARGET := clojure
run-visual-test-ios: XCODE_DERIVED_DATA := $(HOME)/Library/Developer/Xcode/DerivedData
run-visual-test-ios: APPLICATION_NAME := StatusIm-brfnruzfrkkycpbndmdoeyrigthc
run-visual-test-ios: export TEST_BINARY_PATH := $(XCODE_DERIVED_DATA)/$(APPLICATION_NAME)/Build/Products/Debug-iphonesimulator/StatusIm.app
run-visual-test-ios: ##@test Run tests once in NodeJS
	detox test --configuration ios.sim.debug

these can be removed too

@status-im-auto
Copy link
Member

status-im-auto commented Jun 23, 2023

Jenkins Builds

Click to see older builds (9)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 6675544 #1 2023-06-23 13:42:38 ~7 min android-e2e 🤖apk 📲
✔️ 6675544 #1 2023-06-23 13:43:28 ~8 min android 🤖apk 📲
✔️ 6675544 #1 2023-06-23 13:45:23 ~10 min tests 📄log
✔️ 6675544 #1 2023-06-23 13:48:37 ~13 min ios 📱ipa 📲
✔️ 6d68b8f #2 2023-06-23 15:42:08 ~6 min android-e2e 🤖apk 📲
✔️ 6d68b8f #2 2023-06-23 15:42:19 ~7 min android 🤖apk 📲
✔️ 6d68b8f #2 2023-06-23 15:42:29 ~7 min ios 📱ipa 📲
✔️ 6d68b8f #2 2023-06-23 15:42:50 ~7 min tests 📄log
✔️ 6d68b8f #3 2023-06-23 20:20:16 ~5 min android 🤖apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ ad463e1 #4 2023-06-26 09:30:38 ~6 min android 🤖apk 📲
✔️ ad463e1 #3 2023-06-26 09:31:43 ~7 min android-e2e 🤖apk 📲
✔️ ad463e1 #3 2023-06-26 09:32:05 ~7 min ios 📱ipa 📲
✔️ ad463e1 #3 2023-06-26 09:32:57 ~8 min tests 📄log
✔️ 43ef6db #5 2023-06-26 10:07:23 ~7 min android-e2e 🤖apk 📲
✔️ 43ef6db #6 2023-06-26 10:07:24 ~7 min android 🤖apk 📲
✔️ 43ef6db #5 2023-06-26 10:08:23 ~8 min ios 📱ipa 📲
✔️ 43ef6db #5 2023-06-26 10:09:20 ~9 min tests 📄log

@yakimant
Copy link
Member Author

@J-Son89, done, cleaned up visual tests too

@yakimant yakimant changed the title Remove unused detox package. It wasn't used and had build issues. Remove unused visual tests and detox package. It wasn't used and had build issues. Jun 23, 2023
Copy link
Member

@jakubgs jakubgs left a comment

Choose a reason for hiding this comment

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

You love to see it.

image

@flexsurfer flexsurfer added the nix label Jun 25, 2023
@yakimant yakimant added javascript and removed nix labels Jun 26, 2023
@yakimant yakimant changed the title Remove unused visual tests and detox package. It wasn't used and had build issues. js: remove unused visual tests and detox package Jun 26, 2023
yakimant added a commit that referenced this pull request Jun 26, 2023
After the nixpkgs upgrade we started to have Xcode command line tools installation popup on each make test, dtrace-provider was failing meanwhile: #16356

It appeared, that it was failing before the upgrade with different issue: #16356

dtrace-provider is a dependency for detox, which was added for visiual tests in #14329
These tests don't run.

This build issues didn't cause any problems, because it was not obligatary.
See NODE_DTRACE_PROVIDER_REQUIRE option, which can enforce this requirement.

See #16356 for more details.

In this PR we disable detox dependency for now.
And also Visual Tests.
yakimant added a commit that referenced this pull request Jun 26, 2023
After the nixpkgs upgrade we started to have Xcode command line tools installation popup on each make test, dtrace-provider was failing meanwhile: #16356

It appeared, that it was failing before the upgrade with different issue: #16356

dtrace-provider is a dependency for detox, which was added for visiual tests in #14329
These tests don't run.

This build issues didn't cause any problems, because it was not obligatary.
See NODE_DTRACE_PROVIDER_REQUIRE option, which can enforce this requirement.

See #16356 for more details.

In this PR we disable detox dependency for now.
And also Visual Tests.
After the nixpkgs upgrade we started to have Xcode command line tools installation popup on each make test, dtrace-provider was failing meanwhile: #16356

It appeared, that it was failing before the upgrade with different issue: #16356

dtrace-provider is a dependency for detox, which was added for visiual tests in #14329
These tests don't run.

This build issues didn't cause any problems, because it was not obligatary.
See NODE_DTRACE_PROVIDER_REQUIRE option, which can enforce this requirement.

See #16356 for more details.

In this PR we disable detox dependency for now.
And also Visual Tests.
@yakimant yakimant merged commit 43ef6db into develop Jun 26, 2023
2 checks passed
@yakimant yakimant deleted the remove_unused_detox branch June 26, 2023 10:11
codemaster115 pushed a commit that referenced this pull request Jul 7, 2023
After the nixpkgs upgrade we started to have Xcode command line tools installation popup on each make test, dtrace-provider was failing meanwhile: #16356

It appeared, that it was failing before the upgrade with different issue: #16356

dtrace-provider is a dependency for detox, which was added for visiual tests in #14329
These tests don't run.

This build issues didn't cause any problems, because it was not obligatary.
See NODE_DTRACE_PROVIDER_REQUIRE option, which can enforce this requirement.

See #16356 for more details.

In this PR we disable detox dependency for now.
And also Visual Tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants