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
7d1e8388
Unverified
Commit
7d1e8388
authored
3 years ago
by
Nemanja Glumac
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix flaking repro for 11439 (#19692)
* Fix flaking repro for 11439 * Fix linter
parent
9f681a38
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/test/__support__/e2e/helpers/e2e-misc-helpers.js
+3
-1
3 additions, 1 deletion
frontend/test/__support__/e2e/helpers/e2e-misc-helpers.js
frontend/test/metabase/scenarios/question/new.cy.spec.js
+12
-8
12 additions, 8 deletions
frontend/test/metabase/scenarios/question/new.cy.spec.js
with
15 additions
and
9 deletions
frontend/test/__support__/e2e/helpers/e2e-misc-helpers.js
+
3
−
1
View file @
7d1e8388
...
...
@@ -57,7 +57,9 @@ export function openNotebookEditor({ fromCurrentPage } = {}) {
}
cy
.
findByText
(
"
New
"
).
click
();
cy
.
findByText
(
"
Question
"
).
click
();
cy
.
findByText
(
"
Question
"
)
.
should
(
"
be.visible
"
)
.
click
();
}
/**
...
...
This diff is collapsed.
Click to expand it.
frontend/test/metabase/scenarios/question/new.cy.spec.js
+
12
−
8
View file @
7d1e8388
import
{
browse
,
enterCustomColumnDetails
,
getBinningButtonForDimension
,
openOrdersTable
,
openReviewsTable
,
popover
,
...
...
@@ -373,7 +372,10 @@ describe("scenarios > question > new", () => {
cy
.
findByText
(
"
Saved Questions
"
).
click
();
cy
.
findByText
(
"
11439
"
).
click
();
visualize
();
cy
.
findByTestId
(
"
toggle-summarize-sidebar-button
"
).
click
();
cy
.
findAllByTestId
(
"
toggle-summarize-sidebar-button
"
)
.
contains
(
"
Summarize
"
)
.
click
();
cy
.
findByText
(
"
Group by
"
)
.
parent
()
.
within
(()
=>
{
...
...
@@ -381,13 +383,15 @@ describe("scenarios > question > new", () => {
cy
.
log
(
"
**Marked as regression of [#10441](https://github.com/metabase/metabase/issues/10441)**
"
,
);
getBinningButtonForDimension
({
name
:
"
Created At
"
,
})
.
should
(
"
have.text
"
,
"
by month
"
)
.
click
();
cy
.
findByText
(
"
Created At
"
)
.
closest
(
"
li
"
)
.
contains
(
"
by month
"
)
// realHover() or mousemove don't work for whatever reason
// have to use this ugly hack for now
.
click
({
force
:
true
});
});
// this step is maybe redundant since it fails to even find "by month"
//
//
this step is maybe redundant since it fails to even find "by month"
cy
.
findByText
(
"
Hour of Day
"
);
});
...
...
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