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
Smart-Codi
0eb519c70b
add cy test for downloading chart as image ( #19963 )
2022-05-05 17:39:14 -06:00
Phillip Kelley-Dotson
cfd851aa13
fix: replace datamask with key from new key value api ( #17680 )
...
* afirst stage to ccheck to get initial datamask
* clean up code and update typescript
* remove consoles
* fix ts and update copy dashboard url
* use key when one doesn't exists
* lint clean up
* fix errors
* add suggested changes
* remove line
* add tests and add changes for copydashboard
* fix lint
* fix lint
* fix lint
* Update superset-frontend/src/dashboard/components/Header/index.jsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* add timeout
* fix test
* fix test, add qs to cypress and add suggestions
* add suggestions
* fix lint
* more suggested changes for backwards comapat
* fix lint
* cleanup naming and add qs parse to tests
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/index.tsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/index.tsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* more changes and fix lint
* remove nativefiler param
* fix path
* remove con
* simplify logic
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-12-21 09:08:48 -08: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
Kamil Gabryjelski
486e0d412c
chore: Upgrade Webpack to v5 ( #16701 )
...
* Upgrade Webpack to v5
* Remove mapbox hack
* Replace url-loaders and file-loaders with asset modules
* Remove 1 rule
* Change --colors to --color
* Remove invalid option (--no-progress)
* Remove url-loader, bump plugin
* Fix AnnotationLayer formula check
* Remove redundant tests
* Bump cypress packages
* Remove old comment
* Fix tests
* Remove checks for number of scripts in markdown test
* Cosmetic changes
* Add tests
* Fix test
* Fix test
* Fixes test warnings
* disable flaky test
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2021-09-22 14:24:54 +03:00
Jesse Yang
23014e9233
chore: upgrade @emotion ( #14454 )
2021-05-04 15:26:16 -07:00
Jesse Yang
bd1d6acb0c
fix(query): order by adhoc metrics should trigger group by ( #13434 )
...
* fix(query): properly select adhoc metrics in orderby
* Throw error when sql is empty
* Allow `metrics` to be None
* Always use alias in orderby for metrics
* Bump table chart version and migrate histogram to typescript
* Fix Histogram without groupby
* Fix Presto birth names test
* Raw records mode should not aggregate
2021-03-16 21:00:03 -07:00
Jesse Yang
29ad78e11a
chore: upgrade Cypress to 6.2.1 ( #12605 )
2021-01-25 15:05:43 -08:00
Jesse Yang
af130ea5e9
fix: FilterBox select lose focus when focused ( #12114 )
2020-12-18 00:45:27 -08:00
Rob DiCiuccio
700c7c524e
build(cypress): Fix issue with cypress code-coverage plugin when running locally ( #11698 )
...
* Update @cypress/code-coverage to latest
* Set nyc reporter to html/text
* Revert dashboard list test changes from #11613
* Update codecov reporting to summary format
* Add json reporter for codecov.io
* Silence inline coverage reports
2020-11-15 13:16:34 -08:00
Rob DiCiuccio
14aa729e66
build(deps-dev): update cypress to 5.5.0, improvements for running locally ( #11603 )
...
* reduce numTestsKeptInMemory to 0 to prevent Chrome OOM crash
* Add cypress-run-chrome script, update docs and cypress_build.sh
* Upgrade Cypress to latest version
* tox: add missing 'cypress' env, cleanup flask server
* Fix failing dashboard edit test syntax
* Reduce retry count to 1
* Prettier test
2020-11-10 15:51:47 -08:00
Elizabeth Thompson
ed9b50be2c
chore: upgrade cypress to use retries ( #10923 )
2020-09-17 12:54:50 -07:00
Maxime Beauchemin
ea53916730
feat: SIP-34 explore save modal ( #10355 )
...
* feat: SIP-34 explore save modal
* using a const for the session storage key
* backend changes
* minor tweaks
* more tweaks
* radio cosmetics
* styles
* fix tests
* CreatableSelect\!
* Fix cypress & lint
* fix unit
* lint
2020-07-23 00:26:29 -07:00
Jesse Yang
ece4f6d0b5
build: upgrade Cypress and re-enable visualization tests ( #10158 )
2020-06-25 15:24:23 -07:00
Jesse Yang
4fe6f4f38e
fix: FilterBox Select should be Creatable ( #9940 )
...
* bugfix: FilterBox Select should be Creatable
* Fix Cypress test
2020-05-28 14:51:51 -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
Jesse Yang
d8de540e0c
[Build] Collect frontend code coverage from Cypress tests ( #9555 )
...
* build: collect code coverage from Cypress
Collect frontend code coverage reports from Cypress tests and add
proper tagging for all tests.
* Fix bash script lint error from shellcheck
* Revert Cypress to 4.3.0 to see if it fixes a failing test
2020-04-16 23:35:01 -07:00
Jianchao Yang
7b4b0d1c61
[Build] Add Github workflows ( #9517 )
...
As an replacement to Travis CI.
2020-04-14 13:38:09 -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