Skip to content

feat: preventing ddl and dml statements from autosubmiting #592

feat: preventing ddl and dml statements from autosubmiting

feat: preventing ddl and dml statements from autosubmiting #592

GitHub Actions / Cypress Tests succeeded Oct 14, 2024 in 0s

14 passed, 3 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
ui/cypress/results/results-59812b8214801e7dd0f3906ba9270ce3.xml 4✅ 31s
ui/cypress/results/results-9912954f7ba3f53969d9dd31492e1746.xml 1✅ 9s
ui/cypress/results/results-a97530868ca128f12f7f66faaf8f524d.xml 1✅ 1❌ 9s
ui/cypress/results/results-c2774ce263a249cdfb53265db05d518a.xml 1✅ 8s
ui/cypress/results/results-dadb7c27c8596e668ab888a9ebc01735.xml 2✅ 13s
ui/cypress/results/results-f663bf845120c270297afbd13804cfe2.xml 1✅ 2❌ 8s
ui/cypress/results/results-f903f36dbfe735ba1c508d9170701683.xml 4✅ 29s

✅ ui/cypress/results/results-59812b8214801e7dd0f3906ba9270ce3.xml

4 tests were completed in 31s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
All Orgs 1✅ 6s
All Users 1✅ 7s
Chronograf 0ms
Current Org 1✅ 11s
Org Mapping 1✅ 7s
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-9912954f7ba3f53969d9dd31492e1746.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-a97530868ca128f12f7f66faaf8f524d.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
	AssertionError: Timed out retrying after 4000ms: Expected <div.query-maker--tab> not to exist in the DOM, but it was continuously found.
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-c2774ce263a249cdfb53265db05d518a.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-dadb7c27c8596e668ab888a9ebc01735.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-f663bf845120c270297afbd13804cfe2.xml

3 tests were completed in 8s with 1 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
query builder 1✅ 2❌ 8s
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
	TypeError: The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection.
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
	CypressError: `cy.within()` failed because it requires a DOM element.
add and remove building card
  ✅ query builder add and remove building card

✅ ui/cypress/results/results-f903f36dbfe735ba1c508d9170701683.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

Annotations

Check failure on line 0 in ui/cypress/results/results-a97530868ca128f12f7f66faaf8f524d.xml

See this annotation in the file changed.

@github-actions 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-a97530868ca128f12f7f66faaf8f524d.xml
Error:
  AssertionError: Timed out retrying after 4000ms: Expected <div.query-maker--tab> not to exist in the DOM, but it was continuously found.
Raw output
AssertionError: Timed out retrying after 4000ms: Expected <div.query-maker--tab> not to exist in the DOM, but it was continuously found.
    at Context.eval (http://localhost:8888/__cypress/tests?p=cypress/integration/explore_influxql.test.ts:124:37)

Check failure on line 0 in ui/cypress/results/results-f663bf845120c270297afbd13804cfe2.xml

See this annotation in the file changed.

@github-actions github-actions / Cypress Tests

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

Failed test found in:
  ui/cypress/results/results-f663bf845120c270297afbd13804cfe2.xml
Error:
  TypeError: The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection.
Raw output
TypeError: The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection.

  > Cannot read properties of null (reading 'isManuallySubmitted')

When Cypress detects uncaught errors originating from your application it will automatically fail the current test.

This behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.

https://on.cypress.io/uncaught-exception-from-application
    at http://localhost:8888/index.e803b8d1.js:107:146652
    at Ot (http://localhost:8888/index.e803b8d1.js:1:187635)
    at Function.Ni [as map] (http://localhost:8888/index.e803b8d1.js:1:222891)
    at CX.componentDidUpdate (http://localhost:8888/index.e803b8d1.js:107:146586)
    at ws (http://localhost:8888/index.e803b8d1.js:1:134880)
    at Pl (http://localhost:8888/index.e803b8d1.js:1:152426)
    at v (http://localhost:8888/index.e803b8d1.js:1:172695)
    at ao (http://localhost:8888/index.e803b8d1.js:1:96502)
    at Al (http://localhost:8888/index.e803b8d1.js:1:149092)
    at bl (http://localhost:8888/index.e803b8d1.js:1:145246)

Check failure on line 0 in ui/cypress/results/results-f663bf845120c270297afbd13804cfe2.xml

See this annotation in the file changed.

@github-actions github-actions / Cypress Tests

query builder ► 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

Failed test found in:
  ui/cypress/results/results-f663bf845120c270297afbd13804cfe2.xml
Error:
  CypressError: `cy.within()` failed because it requires a DOM element.
Raw output
CypressError: `cy.within()` failed because it requires a DOM element.

The subject received was:

  > `undefined`

The previous command that ran was:

  > `cy.get()`

All 2 subject validations failed on this subject.
    at ensureElement (http://localhost:8888/__cypress/runner/cypress_runner.js:160603:85)
    at validateType (http://localhost:8888/__cypress/runner/cypress_runner.js:160440:18)
    at Object.ensureSubjectByType (http://localhost:8888/__cypress/runner/cypress_runner.js:160476:11)
    at pushSubjectAndValidate (http://localhost:8888/__cypress/runner/cypress_runner.js:169582:17)
    at Context.<anonymous> (http://localhost:8888/__cypress/runner/cypress_runner.js:169911:20)
From Your Spec Code:
    at Context.eval (http://localhost:8888/__cypress/tests?p=cypress/integration/queryBuilder.test.ts:215:43)