Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Mobile
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
197
Issues
197
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Commits
92b6af70
Commit
92b6af70
authored
6 hours ago
by
Martin Santangelo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix) top bar navigation e2e
parent
7fe69711
master
No related merge requests found
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
top-bar-navigation-test.js
__e2e__/top-bar-navigation-test.js
+4
-4
No files found.
__e2e__/top-bar-navigation-test.js
View file @
92b6af70
...
...
@@ -12,7 +12,7 @@ jasmine.getEnv().addReporter(reporterFactory(data));
//TODO: add support for ios to this test (xpath)
describe
(
'Top-bar tests'
,
()
=>
{
beforeAll
(
async
()
=>
{
await
driver
.
init
(
capabilities
);
data
.
sessiondID
=
await
driver
.
getSessionId
();
...
...
@@ -31,8 +31,8 @@ describe('Top-bar tests', () => {
await
button
.
click
();
const
textElement
=
await
driver
.
waitForElementByXPath
(
'/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup[1]/android.view.ViewGroup[2]/android.widget.TextView'
);
expect
(
await
textElement
.
text
()).
toBe
(
'Boost Console'
);
const
back
=
driver
.
waitForElementByXPath
(
'//android.widget.Button[@content-desc="Go back"]/android.view.ViewGroup/android.widget.ImageView'
);
const
back
=
await
driver
.
waitForElementByXPath
(
'//android.widget.Button[@content-desc="Go back"]/android.view.ViewGroup/android.widget.ImageView'
);
back
.
click
();
});
...
...
@@ -40,7 +40,7 @@ describe('Top-bar tests', () => {
const
button
=
await
driver
.
waitForElementByAccessibilityId
(
'topbar avatar button'
,
wd
.
asserters
.
isDisplayed
,
5000
);
await
button
.
click
();
await
driver
.
waitForElementByXPath
(
'/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup[1]/android.widget.ScrollView/android.view.ViewGroup/android.view.ViewGroup[1]/android.view.ViewGroup[1]/android.widget.ImageView'
);
const
back
=
await
driver
.
waitForElementByXPath
(
'/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup[1]/android.widget.ScrollView/android.view.ViewGroup/android.view.ViewGroup[1]/android.view.ViewGroup[2]/android.widget.TextView'
)
back
.
click
();
});
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment