mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/minio] Enable back & fix minio test (#10589)
* Enable back MinIO credentials test Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com> * Fix wront alert selector Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>
This commit is contained in:
@@ -3,7 +3,7 @@ import { random } from './utils';
|
||||
|
||||
it('allows user to log in and log out', () => {
|
||||
cy.login();
|
||||
cy.get('[data-testid="ErrorOutlineIcon"]').should('not.exist');
|
||||
cy.get('div.alert').should('not.exist');
|
||||
cy.get('#logout').scrollIntoView().click();
|
||||
});
|
||||
|
||||
@@ -65,8 +65,5 @@ it('allows creating a service account and downloading credentials', () => {
|
||||
cy.get('[aria-label="Create service account"]').click();
|
||||
cy.contains('button[type="submit"]', 'Create').click();
|
||||
cy.get('#download-button').click();
|
||||
// Temporarily disable credentials file check, as there is an upstream
|
||||
// issue affecting its generation:
|
||||
// https://github.com/minio/console/issues/2031
|
||||
// cy.readFile('cypress/downloads/credentials.json').should('exist');
|
||||
cy.readFile('cypress/downloads/credentials.json').should('exist');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user