Deploy to portal smoke test works again (#3198)

This commit is contained in:
Opender Singh 2021-03-18 10:11:13 +13:00 committed by GitHub
parent 42aff871b3
commit 7ca6c09c44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ describe('Application launch', function() {
await expect(pdfCanvas.isExisting()).resolves.toBe(true);
});
xit('shows deploy to portal for design documents', async () => {
it('shows deploy to portal for design documents', async () => {
await client.correctlyLaunched(app);
await onboarding.skipOnboardingFlow(app);
@ -136,7 +136,7 @@ describe('Application launch', function() {
await home.openDocumentMenuDropdown(card);
// Click the "Deploy to Portal" button, installed from that plugin
await dropdown.clickDropdownItemByText(card, 'Deploy to Portal');
await dropdown.clickOpenDropdownItemByText(app, 'Deploy to Portal');
// Ensure a modal opens, then close it - the rest is plugin behavior
await modal.waitUntilOpened(app, { title: 'Deploy to Portal' });