Skip to content

Commit

Permalink
Adding Flow Framework Dashboards integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: saimedhi <saimedhi@amazon.com>
  • Loading branch information
saimedhi committed Oct 22, 2024
1 parent bc06d34 commit 9fc2570
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ describe('Creating Workflows Using Various Methods', () => {
var modelId = '';

before(() => {
CURRENT_TENANT.newTenant = 'global';
cy.createConnector(createConnectorBody)
.then((connectorResponse) => {
return cy.registerModel({
Expand All @@ -35,17 +36,18 @@ describe('Creating Workflows Using Various Methods', () => {

beforeEach(() => {
CURRENT_TENANT.newTenant = 'global';
cy.fleshTenantSettings();
cy.wait(15000);
// cy.fleshTenantSettings();
cy.wait(20000);
cy.visit(FF_URL.WORKFLOWS, { timeout: FF_TIMEOUT });
});

it('create workflow using import', () => {
CURRENT_TENANT.newTenant = 'global';
cy.fleshTenantSettings();
// cy.fleshTenantSettings();
cy.wait(20000);
cy.getElementByDataTestId('importWorkflowButton', { timeout: FF_TIMEOUT })
.should('be.visible')
.click();
.click({ force: true });
cy.contains('Import a workflow (JSON/YAML)').should('be.visible');
const filePath =
'cypress/fixtures/' +
Expand Down

0 comments on commit 9fc2570

Please sign in to comment.