Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
4b15ad6e
Commit
4b15ad6e
authored
8 years ago
by
Lewis Liu
Browse files
Options
Downloads
Patches
Plain Diff
Waiting for segments and metrics list updates, removing init fixture db
parent
f63370ad
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/test/e2e/admin/datamodel.spec.js
+2
-2
2 additions, 2 deletions
frontend/test/e2e/admin/datamodel.spec.js
frontend/test/e2e/support/fixtures/init.db.h2.db
+0
-0
0 additions, 0 deletions
frontend/test/e2e/support/fixtures/init.db.h2.db
with
2 additions
and
2 deletions
frontend/test/e2e/admin/datamodel.spec.js
+
2
−
2
View file @
4b15ad6e
...
...
@@ -78,7 +78,7 @@ describe("admin/datamodel", () => {
await
findElement
(
driver
,
"
button.Button.Button--primary
"
).
click
();
expect
(
await
find
Element
(
driver
,
"
#SegmentsList tr:first-child td:first-child
"
).
getText
()).
toEqual
(
"
Gmail users
"
);
expect
(
(
await
waitFor
Element
(
driver
,
"
#SegmentsList tr:first-child td:first-child
"
)
)
.
getText
()).
toEqual
(
"
Gmail users
"
);
// add a metric
await
waitForAndClickElement
(
driver
,
"
#MetricsList a.text-brand
"
);
...
...
@@ -91,7 +91,7 @@ describe("admin/datamodel", () => {
await
findElement
(
driver
,
"
button.Button.Button--primary
"
).
click
();
expect
(
await
find
Element
(
driver
,
"
#MetricsList tr:first-child td:first-child
"
).
getText
()).
toEqual
(
"
User count
"
);
expect
(
(
await
waitFor
Element
(
driver
,
"
#MetricsList tr:first-child td:first-child
"
)
)
.
getText
()).
toEqual
(
"
User count
"
);
});
});
...
...
This diff is collapsed.
Click to expand it.
frontend/test/e2e/support/fixtures/init.db.h2.db
deleted
100644 → 0
+
0
−
0
View file @
f63370ad
File deleted
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment