-
Notifications
You must be signed in to change notification settings - Fork 354
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
Migrate remaining e2e tests to POP #7332
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 10 of 10 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @niklasberglund)
android/test/common/src/main/kotlin/net/mullvad/mullvadvpn/test/common/page/WireGuardCustomPortModal.kt
line 6 at r1 (raw file):
import net.mullvad.mullvadvpn.test.common.extension.findObjectWithTimeout class WireGuardCustomPortModal internal constructor() : Page() {
Modal feels very iOS, but maybe it is something commonly used when using POC? Otherwise I think dialog is fine.
69604c2
to
830fb47
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 8 of 10 files reviewed, 1 unresolved discussion (waiting on @Pururun)
android/test/common/src/main/kotlin/net/mullvad/mullvadvpn/test/common/page/WireGuardCustomPortModal.kt
line 6 at r1 (raw file):
Previously, Pururun (Jonatan Rhodin) wrote…
Modal feels very iOS, but maybe it is something commonly used when using POC? Otherwise I think dialog is fine.
Right, it is also called CustomPortDialog
in the app code so that's a better name. Renamed to WireGuardCustomPortDialog
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
android/test/common/src/main/kotlin/net/mullvad/mullvadvpn/test/common/page/WireGuardCustomPortModal.kt
line 6 at r1 (raw file):
Previously, niklasberglund (Niklas Berglund) wrote…
Right, it is also called
CustomPortDialog
in the app code so that's a better name. Renamed toWireGuardCustomPortDialog
.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 8 of 10 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @niklasberglund)
android/test/e2e/src/main/kotlin/net/mullvad/mullvadvpn/test/e2e/WebLinkTest.kt
line 20 at r2 (raw file):
on<SettingsPage> { clickFaqAndGuides() } on<MullvadWebsite> {}
Same here on<MullvadWebsite>()
android/test/e2e/src/main/kotlin/net/mullvad/mullvadvpn/test/e2e/LogoutTest.kt
line 24 at r2 (raw file):
on<AccountPage> { clickLogOut() } on<LoginPage> {}
nit: I believe we could just write on<LoginPage>()
830fb47
to
e9b77ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 8 of 10 files reviewed, 1 unresolved discussion (waiting on @Pururun and @Rawa)
android/test/e2e/src/main/kotlin/net/mullvad/mullvadvpn/test/e2e/LogoutTest.kt
line 24 at r2 (raw file):
Previously, Rawa (David Göransson) wrote…
nit: I believe we could just write
on<LoginPage>()
Removed {}
android/test/e2e/src/main/kotlin/net/mullvad/mullvadvpn/test/e2e/WebLinkTest.kt
line 20 at r2 (raw file):
Previously, Rawa (David Göransson) wrote…
Same here
on<MullvadWebsite>()
Removed {}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 8 of 10 files reviewed, 1 unresolved discussion (waiting on @Pururun)
android/test/e2e/src/main/kotlin/net/mullvad/mullvadvpn/test/e2e/LogoutTest.kt
line 24 at r2 (raw file):
Previously, niklasberglund (Niklas Berglund) wrote…
Removed
{}
I believe this won't compile, you need the ()
e9b77ad
to
f639950
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r4, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @Rawa)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @Rawa)
android/test/e2e/src/main/kotlin/net/mullvad/mullvadvpn/test/e2e/LogoutTest.kt
line 24 at r2 (raw file):
Previously, Rawa (David Göransson) wrote…
I believe this won't compile, you need the
()
You are absolutely right, now the build and tests are passing 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r4, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
f639950
to
d34461a
Compare
LoginTest
andConnectionTest
was migrated since before. This PR migrates remaining end to end tests to use Page Object Pattern.This change is