feat: preventing ddl and dml statements from autosubmiting #595
32 passed, 2 failed and 0 skipped
✅ ui/cypress/results/results-050f031cd8790cde1cb6e409e318511e.xml
2 tests were completed in 13s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Use Dashboards | 1✅ | 6s | ||
Use Dashboards as reader | 1✅ | 8s |
✅ Use Dashboards
create, rename and delete a dashboard
✅ Use Dashboards create, rename and delete a dashboard
✅ Use Dashboards as reader
ensure that all elements used to edit Chronograf are not visible
✅ Use Dashboards Use Dashboards as reader ensure that all elements used to edit Chronograf are not visible
✅ ui/cypress/results/results-10db3ba0ed981af0cafa80cc83fcfde3.xml
1 tests were completed in 10s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Configuration | 1✅ | 10s | ||
Root Suite | 0ms |
✅ Configuration
use configuration tab to create and delete a source
✅ Configuration use configuration tab to create and delete a source
✅ ui/cypress/results/results-1d10e1d9f2617c36a782c8b1ddb1f94e.xml
4 tests were completed in 29s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Databases | 1✅ | 7s | ||
InfluxDB | 0ms | |||
Roles | 1✅ | 7s | ||
Root Suite | 0ms | |||
Users | 2✅ | 14s |
✅ Databases
create InfluxDB, edit it, and delete it
✅ InfluxDB Databases create InfluxDB, edit it, and delete it
✅ Roles
create a role, edit it, assign it to a user, and delete it
✅ InfluxDB Roles create a role, edit it, assign it to a user, and delete it
✅ Users
create user, edit permissions, change password, and delete user
✅ InfluxDB Users create user, edit permissions, change password, and delete user
create user, assign role, remove role, and delete user
✅ InfluxDB Users create user, assign role, remove role, and delete user
✅ ui/cypress/results/results-1f88679a9743bccc107ed04d3bbaad61.xml
4 tests were completed in 26s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Databases | 1✅ | 7s | ||
InfluxDB | 0ms | |||
Roles | 1✅ | 7s | ||
Root Suite | 0ms | |||
Users | 2✅ | 13s |
✅ Databases
create InfluxDB, edit it, and delete it
✅ InfluxDB Databases create InfluxDB, edit it, and delete it
✅ Roles
create a role, edit it, assign it to a user, and delete it
✅ InfluxDB Roles create a role, edit it, assign it to a user, and delete it
✅ Users
create user, edit permissions, change password, and delete user
✅ InfluxDB Users create user, edit permissions, change password, and delete user
create user, assign role, remove role, and delete user
✅ InfluxDB Users create user, assign role, remove role, and delete user
✅ ui/cypress/results/results-2a8ca2183e098c74466fd485482eb1f0.xml
1 tests were completed in 9s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Configuration | 1✅ | 9s | ||
Root Suite | 0ms |
✅ Configuration
use configuration tab to create and delete a source
✅ Configuration use configuration tab to create and delete a source
✅ ui/cypress/results/results-57de7e725dc1e6603b1aaf715267f680.xml
1 tests were completed in 8s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Welcome Page | 1✅ | 8s |
✅ Welcome Page
set up InfluxDB connection
✅ Welcome Page set up InfluxDB connection
✅ ui/cypress/results/results-6ee75b7829fd1605c32c604d5598e61c.xml
1 tests were completed in 7s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Welcome Page | 1✅ | 7s |
✅ Welcome Page
set up InfluxDB connection
✅ Welcome Page set up InfluxDB connection
✅ ui/cypress/results/results-737b207347c44429d858227bf818d255.xml
3 tests were completed in 21s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
query builder | 3✅ | 21s | ||
Root Suite | 0ms |
✅ query builder
create a query, change its aggregation function and fill missing values
✅ query builder create a query, change its aggregation function and fill missing values
use filters to search for tags, activate them and keep track of the selected tags counter
✅ query builder use filters to search for tags, activate them and keep track of the selected tags counter
add and remove building card
✅ query builder add and remove building card
❌ ui/cypress/results/results-8aab69d9c991360a0acb9aa9889ef33b.xml
2 tests were completed in 9s with 1 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
InfluxQL | 1✅ | 1❌ | 9s | |
Root Suite | 0ms |
❌ InfluxQL
Use InfluxQL query builder to make a new query
❌ InfluxQL Use InfluxQL query builder to make a new query
CypressError: Timed out retrying after 4050ms: `cy.click()` failed because this element is detached from the DOM.
create and delete a database with use of metaquery templates
✅ InfluxQL create and delete a database with use of metaquery templates
✅ ui/cypress/results/results-bf471175b4c8d9571a9b0ff1287bf963.xml
3 tests were completed in 23s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
query builder | 3✅ | 23s | ||
Root Suite | 0ms |
✅ query builder
create a query, change its aggregation function and fill missing values
✅ query builder create a query, change its aggregation function and fill missing values
use filters to search for tags, activate them and keep track of the selected tags counter
✅ query builder use filters to search for tags, activate them and keep track of the selected tags counter
add and remove building card
✅ query builder add and remove building card
✅ ui/cypress/results/results-bf606a6aba1436e74988dd6b3784de41.xml
4 tests were completed in 30s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
All Orgs | 1✅ | 6s | ||
All Users | 1✅ | 8s | ||
Chronograf | 0ms | |||
Current Org | 1✅ | 10s | ||
Org Mapping | 1✅ | 6s | ||
Root Suite | 0ms |
✅ All Orgs
create an org, edit it, and delete it
✅ Chronograf All Orgs create an org, edit it, and delete it
✅ All Users
add user, edit user, and remove it
✅ Chronograf All Users add user, edit user, and remove it
✅ Current Org
create, edit, and delete a Chronograf user
✅ Chronograf Current Org create, edit, and delete a Chronograf user
✅ Org Mapping
create, edit, and remove organization mapping
✅ Chronograf Org Mapping create, edit, and remove organization mapping
✅ ui/cypress/results/results-c6f75127b05475429d6c641fd911897d.xml
2 tests were completed in 12s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Use Dashboards | 1✅ | 5s | ||
Use Dashboards as reader | 1✅ | 7s |
✅ Use Dashboards
create, rename and delete a dashboard
✅ Use Dashboards create, rename and delete a dashboard
✅ Use Dashboards as reader
ensure that all elements used to edit Chronograf are not visible
✅ Use Dashboards Use Dashboards as reader ensure that all elements used to edit Chronograf are not visible
❌ ui/cypress/results/results-df299d5089bfe7c3eee9298479d3d5a2.xml
2 tests were completed in 10s with 1 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
InfluxQL | 1✅ | 1❌ | 10s | |
Root Suite | 0ms |
❌ InfluxQL
Use InfluxQL query builder to make a new query
❌ InfluxQL Use InfluxQL query builder to make a new query
AssertionError: Timed out retrying after 4000ms: Not enough elements found. Found '1', expected '2'.
create and delete a database with use of metaquery templates
✅ InfluxQL create and delete a database with use of metaquery templates
✅ ui/cypress/results/results-f224b33ba77c801face2504e3c625965.xml
4 tests were completed in 28s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
All Orgs | 1✅ | 6s | ||
All Users | 1✅ | 8s | ||
Chronograf | 0ms | |||
Current Org | 1✅ | 9s | ||
Org Mapping | 1✅ | 6s | ||
Root Suite | 0ms |
✅ All Orgs
create an org, edit it, and delete it
✅ Chronograf All Orgs create an org, edit it, and delete it
✅ All Users
add user, edit user, and remove it
✅ Chronograf All Users add user, edit user, and remove it
✅ Current Org
create, edit, and delete a Chronograf user
✅ Chronograf Current Org create, edit, and delete a Chronograf user
✅ Org Mapping
create, edit, and remove organization mapping
✅ Chronograf Org Mapping create, edit, and remove organization mapping
Annotations
Check failure on line 0 in ui/cypress/results/results-8aab69d9c991360a0acb9aa9889ef33b.xml
github-actions / Cypress Tests
InfluxQL ► Use InfluxQL query builder to make a new query ► InfluxQL Use InfluxQL query builder to make a new query
Failed test found in:
ui/cypress/results/results-8aab69d9c991360a0acb9aa9889ef33b.xml
Error:
CypressError: Timed out retrying after 4050ms: `cy.click()` failed because this element is detached from the DOM.
Raw output
CypressError: Timed out retrying after 4050ms: `cy.click()` failed because this element is detached from the DOM.
`<div class="btn btn-primary" data-test="add-query--button">...</div>`
Cypress requires elements be attached in the DOM to interact with them.
The previous command that ran was:
> `cy.get()`
This DOM element likely became detached somewhere between the previous and current command.
Common situations why this happens:
- Your JS framework re-rendered asynchronously
- Your app code reacted to an event firing and removed the element
You typically need to re-query for the element or add 'guards' which delay Cypress from running new commands.
https://on.cypress.io/element-has-detached-from-dom
at $Cy.ensureAttached (http://localhost:8888/__cypress/runner/cypress_runner.js:160589:85)
at runAllChecks (http://localhost:8888/__cypress/runner/cypress_runner.js:147824:12)
at retryActionability (http://localhost:8888/__cypress/runner/cypress_runner.js:147901:16)
at tryCatcher (http://localhost:8888/__cypress/runner/cypress_runner.js:13212:23)
at Function.Promise.attempt.Promise.try (http://localhost:8888/__cypress/runner/cypress_runner.js:10486:29)
at tryFn (http://localhost:8888/__cypress/runner/cypress_runner.js:165383:61)
at whenStable (http://localhost:8888/__cypress/runner/cypress_runner.js:165422:14)
at http://localhost:8888/__cypress/runner/cypress_runner.js:164909:18
at tryCatcher (http://localhost:8888/__cypress/runner/cypress_runner.js:13212:23)
at Promise._settlePromiseFromHandler (http://localhost:8888/__cypress/runner/cypress_runner.js:11147:31)
at Promise._settlePromise (http://localhost:8888/__cypress/runner/cypress_runner.js:11204:18)
at Promise._settlePromise0 (http://localhost:8888/__cypress/runner/cypress_runner.js:11249:10)
at Promise._settlePromises (http://localhost:8888/__cypress/runner/cypress_runner.js:11329:18)
at Promise._fulfill (http://localhost:8888/__cypress/runner/cypress_runner.js:11273:18)
at http://localhost:8888/__cypress/runner/cypress_runner.js:12887:46
From Your Spec Code:
at Context.eval (http://localhost:8888/__cypress/tests?p=cypress/integration/explore_influxql.test.ts:128:45)
Check failure on line 0 in ui/cypress/results/results-df299d5089bfe7c3eee9298479d3d5a2.xml
github-actions / Cypress Tests
InfluxQL ► Use InfluxQL query builder to make a new query ► InfluxQL Use InfluxQL query builder to make a new query
Failed test found in:
ui/cypress/results/results-df299d5089bfe7c3eee9298479d3d5a2.xml
Error:
AssertionError: Timed out retrying after 4000ms: Not enough elements found. Found '1', expected '2'.
Raw output
AssertionError: Timed out retrying after 4000ms: Not enough elements found. Found '1', expected '2'.
at Context.eval (http://localhost:8888/__cypress/tests?p=cypress/integration/explore_influxql.test.ts:130:37)