Skip to content

Commit 603c7e6

Browse files
committed
test: source open uses lightning flexipage list, not classic
1 parent 67b9482 commit 603c7e6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/nut/open.nut.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import * as path from 'path';
99
import * as fs from 'fs';
1010
import { TestSession, execCmd } from '@salesforce/cli-plugins-testkit';
11-
import { expect } from 'chai';
11+
import { expect, config } from 'chai';
1212
import { AuthFields } from '@salesforce/core';
1313
import { ComponentSetBuilder } from '@salesforce/source-deploy-retrieve';
1414
import { OrgOpenOutput } from '../../lib/commands/org/open';
@@ -17,6 +17,8 @@ let session: TestSession;
1717
let defaultUsername: string;
1818
let defaultUserOrgId: string;
1919

20+
config.truncateThreshold = 0;
21+
2022
describe('test org:open command', () => {
2123
const flexiPagePath = path.join('force-app', 'main', 'default', 'flexipages', 'Property_Explorer.flexipage-meta.xml');
2224

@@ -51,7 +53,7 @@ describe('test org:open command', () => {
5153
).result;
5254
expect(result).to.be.ok;
5355
expect(result).to.include({ orgId: defaultUserOrgId, username: defaultUsername });
54-
expect(result).to.property('url').to.include('flexipage/ui/FlexiPageFilterListPage');
56+
expect(result).to.property('url').to.include('lightning/setup/FlexiPageList/home');
5557
});
5658

5759
it('should produce the URL for a flexipage resource in json', async () => {

0 commit comments

Comments
 (0)