mirror of
https://github.com/bitnami/charts.git
synced 2026-04-02 15:27:08 +08:00
[bitnami/odoo] Release 22.0.0 (#13161)
* [bitnami/odoo] Release 22.0.0 updating components versions Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * [bitnami/odoo] Fix cypress test for version 16 Signed-off-by: David Gomez <dgomezleon@vmware.com> * [bitnami/odoo] Unify installation and inviting user tests Signed-off-by: David Gomez <dgomezleon@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: David Gomez <dgomezleon@vmware.com> Co-authored-by: David Gomez <dgomezleon@vmware.com>
This commit is contained in:
@@ -1,38 +1,36 @@
|
||||
/// <reference types="cypress" />
|
||||
import { random } from '../support/utils';
|
||||
|
||||
it('allows installing/uninstalling an application', () => {
|
||||
it('allows installing/uninstalling an application and inviting new users', () => {
|
||||
cy.login();
|
||||
cy.get('[title="Home Menu"]').click();
|
||||
cy.contains('a', 'Apps').click();
|
||||
cy.get('[title="Sales"]').within(() => {
|
||||
cy.contains('Install').click();
|
||||
cy.get('button[name="button_immediate_install"]').click();
|
||||
});
|
||||
cy.reload();
|
||||
|
||||
cy.get('[title="Home Menu"]').click();
|
||||
cy.contains('a', 'Apps').click();
|
||||
cy.get('[role="searchbox"]').type('Discuss {enter}');
|
||||
cy.contains('[role="article"]', 'Discuss').within(() => {
|
||||
cy.get('a[title*="menu"]').click({ force: true });
|
||||
});
|
||||
cy.contains('Uninstall').click({ force: true });
|
||||
cy.contains('Confirm').click();
|
||||
cy.reload();
|
||||
|
||||
cy.get('[title="Home Menu"]').click();
|
||||
cy.contains('a', 'Discuss').should('not.exist');
|
||||
});
|
||||
|
||||
it('allows inviting new users', () => {
|
||||
cy.login();
|
||||
cy.get('[title="Home Menu"]').click();
|
||||
cy.contains('Settings').click();
|
||||
cy.fixture('users').then((user) => {
|
||||
cy.get('.o_user_emails').type(`${random}.${user.newUser.email}`);
|
||||
cy.contains('button', 'Invite').click();
|
||||
cy.get('#invite_users_setting').within(() => {
|
||||
cy.get('div[class*=invite_users]').within(() => {
|
||||
cy.contains(`${random}.${user.newUser.email}`);
|
||||
});
|
||||
});
|
||||
|
||||
cy.get('[title="Home Menu"]').click();
|
||||
cy.contains('a', 'Apps').click();
|
||||
cy.get('[role="searchbox"]').type('Discuss {enter}');
|
||||
cy.contains('1-1');
|
||||
cy.contains('[role="article"]', 'Discuss').within(() => {
|
||||
cy.get('button[class*="dropdown-toggle"]').click({ force: true });
|
||||
});
|
||||
cy.contains('Uninstall').click({ force: true });
|
||||
cy.get('button[name="action_uninstall"]').click();
|
||||
cy.reload();
|
||||
|
||||
cy.get('[title="Home Menu"]').click();
|
||||
cy.contains('a', 'Discuss').should('not.exist');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user