Geido
8539d4cb67
chore: Cypress runtime enhancements ( #21332 )
2022-09-12 17:48:36 +03:00
Kamil Gabryjelski
17ad0d80de
chore: Add new e2e tests for Explore ( #21184 )
...
* chore(explore): Add cypress test for creating chart from dataset list
* Add cypress test for creating chart from sqllab query
* Fix the test for editing dataset in exploer
* Fix lint
* Fix tests
2022-08-25 18:50:31 +02:00
JUST.in DO IT
f77b910e2c
perf(sqllab): Rendering perf improvement using immutable state ( #20877 )
...
* perf(sqllab): Rendering perf improvement using immutable state
- keep queryEditors immutable during active state
- add unsavedQueryEditor to store all active changes
- refactor each component to subscribe the related unsaved editor state only
* revert ISaveableDatasource type cast
* missing trigger prop
* a default of an empty object and optional operator
2022-08-23 12:17:19 -03:00
Geido
d0b8b1e97d
feat: Applitools Cypress workflow ( #19956 )
...
* WIP
* Attempt Github Actions integration
* Add completion notification to workflow
* Update env
* Add new line
* Add license
* Fix whitespaces
* Fix Yaml indentation
* Fix afterEach
* Add initial tests
* Update config
* Use test secret
* Clean up
* Add batchName
* Disable logs - add secret
* Create separate workflow
* Clean up
* Update workflow
* Exclude applitools tests
* Update jobs name
* Run applitools tests separetely
* Fix path pattern
* Run once
* Add more initial tests
* Enhance tests
* Add dashboard edit mode test
* Move env
* Exclude applitools from sqllab test run
* Attempt pull_request_target
* Catch Applitools failures
* Clean up tests
* Add test step
* Add test step
* Remove step
* Fix SqlLab test
* Update CURL request
* Fix Yaml
* Add empty data to batch completion
2022-05-09 15:42:20 +02:00
Josh Soref
bebb10e495
chore(frontend-tests): Spelling ( #19853 )
...
* spelling: against
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: been
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: charts
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: clicking
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: columns
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: duplicate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: especially
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: extensions
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fields
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: filter
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: for
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: label
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: labeled
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: nativefilter
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: registry
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: render
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: resizable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: response
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: successful
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: transform
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unfortunately
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: until
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: virtual
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: wrapper
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-04-26 10:35:01 -07:00
Yongjie Zhao
d954c3df86
fix: can't sync temporal flag on virtual table ( #19366 )
2022-04-01 16:40:50 +08:00
Jesse Yang
f6291545fb
chore: turn on SQLLAB_BACKEND_PERSISTENCE by default ( #19107 )
...
* chore: turn on SQLLAB_BACKEND_PERSISTENCE by default
* Rewrite SQL tabs test to make it more rerunnable
2022-03-17 21:51:47 -07:00
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
Lyndsi Kay Williams
732e5891e5
test: Cypress 7.0.0 migration ( #16911 )
...
* Copied changes from original PR, minus package-lock.json files
* Reverted command name change
* Fixed package.json in superset-frontend
* Test adjustments
2021-10-14 17:01:11 -07:00
Jesse Yang
29ad78e11a
chore: upgrade Cypress to 6.2.1 ( #12605 )
2021-01-25 15:05:43 -08:00
Elizabeth Thompson
466a7c8693
fix: south pane scrolling issues ( #12318 )
...
* remove extra scrollbars
* fix sql lab south pane bottom margin
* Update superset-frontend/src/SqlLab/components/SouthPane.jsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/SqlLab/components/SouthPane.jsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* move styles to component
Co-authored-by: Evan Rusackas <evan@preset.io>
2021-01-08 09:52:33 -08:00
Kamil Gabryjelski
b071344531
refactor: Replace react-bootstrap tabs with Antd tabs in SqlLab ( #11212 )
...
* Create styled Antd Tabs and Dropdown
* Replace Tabs in SqlLab
2020-10-09 23:11:25 -07:00
John Bodley
2a447ff466
Revert "refactor: Replace react-bootstrap tabs with Antd tabs ( #11090 )" ( #11194 )
...
This reverts commit 4fd993c4e0
.
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-10-07 16:21:24 -07:00
Kamil Gabryjelski
4fd993c4e0
refactor: Replace react-bootstrap tabs with Antd tabs ( #11090 )
...
* Replace tabs in profile
* Replace tabs in SouthPane
* Replace tabs in TabbedSqlEditors
* Add typing for dropdown
* Add license
* Remove isSelected
* Fixes
* Add data-test
* Fix test
* Remove unnecessary style
* Remove unnecessary style
* Tests fix
* Tests fix
* Update superset-frontend/src/common/components/Dropdown.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/common/components/Dropdown.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/common/components/Dropdown.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/common/components/Dropdown.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/common/components/Tabs.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/common/components/Dropdown.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/common/components/Dropdown.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Remove inModal prop
* Remove inModal from storybook
* Move inline style to styled component
Co-authored-by: Evan Rusackas <evan@preset.io>
2020-10-02 13:07:52 -07:00
Jesse Yang
7549dad12d
fix: timer component, fixes #10849 , closes #11002 ( #11004 )
2020-09-23 10:53:24 -07:00
adam-stasiak-polidea
dc893fe1b3
chore: selectors refactor in SQLLab test suite (Cypress) ( #10944 )
...
* changed selectors for not skipped tests in sqllab suite
* linter fixes
* linter fixes
2020-09-21 15:49:44 -07:00
Grace Guo
2f147cfedc
fix: add additional ui tweaks ( #10275 )
...
* fix: add additional ui tweaks
* use fa fa-close class for x icon
* use new svg icons
2020-07-15 14:05:30 -07:00
Grace Guo
6690963ec2
feat: minor reorder SQL Lab Tab controls ( #10257 )
2020-07-08 16:21:47 -07:00
Jesse Yang
4342c33d0e
build: enable typescript for cypress ( #10170 )
2020-06-29 10:53:33 -07:00
Jesse Yang
ece4f6d0b5
build: upgrade Cypress and re-enable visualization tests ( #10158 )
2020-06-25 15:24:23 -07:00
Maxime Beauchemin
a6390afb89
style: push bootstrap theme towards SIP-34 styles ( #10056 )
...
* feat: cartel theme
* piling
* more tweaks
* Make things look better
* lint
* fix tests
* paint it black
* tweaks
2020-06-18 15:01:58 -07:00
Jesse Yang
13c5b133a9
test(frontend): use absolute path for src imports ( #9761 )
...
* test(frontend): use absolute path for src imports
* Upgrade prettier, fix eslint
2020-05-07 14:18:10 -07:00
David Aaron Suddjian
2913063924
SIP-32: Moving frontend code to the base of the repo ( #9098 )
...
* move assets out, get webpack dev working
* update docs to reference superset-frontend
* draw the rest of the owl
* fix docs
* fix webpack script
* rats
* correct docs
* fix tox dox
2020-02-09 17:53:56 -08:00