Skip to content

Commit

Permalink
test(console): re-enable organization page tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyijun committed Apr 18, 2024
1 parent 4515787 commit ac5e8c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ import { cls, dcls, generateTestName } from '#src/utils.js';

const expectOrg = new ExpectOrganizations(await browser.newPage());

// Temporarily skipping organization tests, will add them back later with the "guide" feature
describe.skip('organizations: create, edit, and delete organization', () => {
describe('organizations: create, edit, and delete organization', () => {
it('navigates to organizations page', async () => {
await expectOrg.start();
await expectOrg.gotoPage('/organizations', 'Organizations');
await expectOrg.toExpectTabs('Organizations', 'Settings');
});

it('should be able to see the table', async () => {
Expand Down Expand Up @@ -47,7 +45,7 @@ describe.skip('organizations: create, edit, and delete organization', () => {
});
});

describe.skip('organizations: search organization', () => {
describe('organizations: search organization', () => {
const [testName1, testName2] = [generateTestName(), generateTestName()];

it('creates two organizations', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class ExpectOrganizations extends ExpectConsole {
*/
async toCreateOrganization(name: string) {
await this.gotoPage('/organizations', 'Organizations');
await this.toClickButton('Create organization');
await this.toClickButton('Create organization', false);

await this.toExpectModal('Create organization');
await this.toFillForm({
Expand Down

0 comments on commit ac5e8c2

Please sign in to comment.