mozilla/redash-ui-tests

Options button - Show API Key - displayed the API Key pop-up

Opened this issue · 0 comments

Prerequisites

  • User is logged in
  • At least one query

UI Test

Action Result
Navigate to a query /id page The Options button is displayed
Click on the Options button A drop down menu is displayed, “Show API Key” link displayed in dropdown
Click on the “Show API Key” link A pop-up is displayed, The pop-up has 2 sections: API Key containing the key to be used for this query, and Example API Calls with 2 sub sections: Results in CSV format, the link should have this format: https://pipeline-sql.stage.mozaws.net/api/queries/6/results.csv?api_key=eBnw0rWQsT0Mb2DUayHSMQDFfv9YWYwgdnoIYHkd Results in JSON format, the link should have this format: https://pipeline-sql.stage.mozaws.net/api/queries/6/results.json?api_key=eBnw0rWQsT0Mb2DUayHSMQDFfv9YWYwgdnoIYHkd