superset/superset-frontend/cypress-base/cypress/integration/sqllab
cccs-Dustin 5a5ff99c37
fix(SQL Editor): names new query tabs correctly (#18951)
* Added in code changes that now properly increment the Untitled Query SQL Lab tab names. All that is left is to add tests to make sure that the function works correctly

* Updated the code so that it adds to the untitled_query_numbers variable only if the character after the string 'Untitled Query ' is a number. This prevents any issues when trying to get the maximum value in the list.

* Refactored part of the mapping code, to make it shorter and easier to read/understand

* Fixed issues in the code that were causing some of the CI tests to fail

* Made code changes based on comments within the PR. Also added a unit test to make sure that the newQueryEditor function in the TabbedSqlEditors component works as intended

* Fixed the failing cypress test in tabs.test.js
2022-03-04 18:28:30 +02:00
..
query.test.ts test: Cypress 7.0.0 migration (#16911) 2021-10-14 17:01:11 -07:00
sourcePanel.index.test.js chore: upgrade Cypress to 6.2.1 (#12605) 2021-01-25 15:05:43 -08:00
sqllab.helper.js SIP-32: Moving frontend code to the base of the repo (#9098) 2020-02-09 17:53:56 -08:00
tabs.test.js fix(SQL Editor): names new query tabs correctly (#18951) 2022-03-04 18:28:30 +02:00