@grafana/e2e: API improvements (#23079)

* Minor changes

* Fixtures path is now relative to the project directory

* URL support module now has individual exports

* Scenario context timing issues resolved

... caused by being ran synchronously, instead of as part of Cypress' asynchronous queue.

* Scenario context API now supports multiple keys per function call

* addDataSource flow accepts a config argument

… and optionally checks datasource health status

* Added readProvisions command

* Added addPanel flow
This commit is contained in:
Steven Vachon
2020-03-26 12:15:58 -04:00
committed by GitHub
parent 13ab84f201
commit a4308fffe7
20 changed files with 224 additions and 103 deletions
@@ -12,6 +12,7 @@ module.exports = async baseConfig => {
if (CWD) {
const projectConfig = {
fixturesFolder: `${CWD}/cypress/fixtures`,
integrationFolder: `${CWD}/cypress/integration`,
screenshotsFolder: `${CWD}/cypress/screenshots`,
videosFolder: `${CWD}/cypress/videos`,