Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused e2e test steps for domain mapping #53143

Merged
merged 1 commit into from
May 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions test/e2e/lib/pages/domain-map-checkout-page.js

This file was deleted.

25 changes: 0 additions & 25 deletions test/e2e/specs/specs-calypso/wp-manage-domains-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import NavBarComponent from '../../lib/components/nav-bar-component.js';
import MyOwnDomainPage from '../../lib/pages/domain-my-own-page';
import MapADomainPage from '../../lib/pages/domain-map-page';
import EnterADomainComponent from '../../lib/components/enter-a-domain-component';
import MapADomainCheckoutPage from '../../lib/pages/domain-map-checkout-page';

import LoginFlow from '../../lib/flows/login-flow.js';

Expand Down Expand Up @@ -179,29 +178,5 @@ describe( `[${ host }] Managing Domains: (${ screenSize }) @parallel`, function
const enterADomainComponent = await EnterADomainComponent.Expect( this.driver );
return await enterADomainComponent.enterADomain( blogName );
} );

it.skip( 'Can add domain to the cart', async function () {
const enterADomainComponent = await EnterADomainComponent.Expect( this.driver );
return await enterADomainComponent.clickonAddButtonToAddDomainToTheCart();
} );

it.skip( 'Can see checkout page', async function () {
return await MapADomainCheckoutPage.Expect( this.driver );
} );

it.skip( 'Empty the cart', async function () {
await ReaderPage.Visit( this.driver );
const navBarComponent = await NavBarComponent.Expect( this.driver );
await navBarComponent.clickMySites();
const sideBarComponent = await SidebarComponent.Expect( this.driver );
await sideBarComponent.selectDomains();
await DomainsPage.Expect( this.driver );
try {
const shoppingCartWidgetComponent = await ShoppingCartWidgetComponent.Expect( this.driver );
await shoppingCartWidgetComponent.removeDomainMapping( blogName );
} catch {
console.log( 'Cart already empty' );
}
} );
} );
} );