eschutho commented on a change in pull request #10834:
URL: 
https://github.com/apache/incubator-superset/pull/10834#discussion_r499057404



##########
File path: 
superset-frontend/cypress-base/cypress/integration/dashboard/save.test.js
##########
@@ -16,55 +16,118 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
+import shortid from 'shortid';
 import readResponseBlob from '../../utils/readResponseBlob';
 import { WORLD_HEALTH_DASHBOARD } from './dashboard.helper';
 
 describe('Dashboard save action', () => {
-  let dashboardId;
-
   beforeEach(() => {
     cy.server();
     cy.login();
     cy.visit(WORLD_HEALTH_DASHBOARD);
+  });
 
-    cy.get('#app').then(data => {
-      const bootstrapData = JSON.parse(data[0].dataset.bootstrap);
-      const dashboard = bootstrapData.dashboard_data;
-      dashboardId = dashboard.id;
-      cy.route('POST', 
`/superset/copy_dash/${dashboardId}/`).as('copyRequest');
-    });
+  // it('should save as new dashboard', () => {

Review comment:
       that was just for temporary testing purposes while this was a draft.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to