Skip to content

Commit

Permalink
Adding traefik test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmartin24 committed Apr 15, 2024
1 parent 1268055 commit e77c465
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/cypress/e2e/unit_tests/p0_fleet.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,26 @@ describe('Test Fleet deployment on PUBLIC repos', { tags: '@p0' }, () => {
cy.deleteAllFleetRepos();
})
);

qase(115,
it('FLEET-115: Deploy "Traefik" application on "kube-system" namespace to local cluster', { tags: '@fleet-115' }, () => {

const repoName = "local-cluster-fleet-115"
const branch = "main"
const path = "traefik"
const repoUrl = "https://github.com/fleetqa/fleet-qa-examples"

cy.fleetNamespaceToggle('fleet-local');
cy.addFleetGitRepo({ repoName, repoUrl, branch, path });
cy.clickButton('Create');
cy.checkGitRepoStatus(repoName, '1 / 1', '7 / 7');
cy.verifyTableRow(1, 'Service', 'traefik');
cy.verifyTableRow(3, 'IngressRoute', 'traefik-dashboard');
cy.verifyTableRow(5, 'ClusterRole', 'traefik-kube-system');
cy.deleteAllFleetRepos();
})
);

});

describe('Test Fleet deployment on PRIVATE repos with HTTP auth', { tags: '@p0' }, () => {
Expand Down

0 comments on commit e77c465

Please sign in to comment.