Skip to main content
Home

Main navigation

  • Home
  • Products
  • Services
  • Docs
  • Blog
  • About us
  • Contact
Documentation
  • Webship JS 2.0.x
    • Install Webship JS
    • Global Settings
    • Step Definitions
    • API Steps
    • Accessibility Steps
    • Action Steps
    • Assertion Steps
    • Auth State Steps
    • Clock Steps
    • Cookie Steps
    • Debug Steps
    • Dialog Steps
    • Element Steps
    • Field Steps
    • File Download Steps
    • Form Steps
    • Iframe Steps
    • Input Steps
    • JavaScript Steps
    • Keyboard Steps
    • Link Steps
    • Meta Tag Steps
    • Modal Steps
    • Navigation Steps
    • Network Steps
    • Path Steps
    • REST Steps
    • Response Steps
    • Responsive Steps
    • Screenshot Steps
    • Scroll Steps
    • Selector Steps
    • Storage Steps
    • Table Steps
    • Video Steps
    • Wait Steps
    • Web First Steps
    • XML Steps
    • YAML Steps
    • External Steps
      • Drupal Core Steps
      • Drupal CMS Steps
      • WordPress Steps
      • Joomla Steps
      • Odoo Steps
      • Magento Steps
      • TYPO3 Steps
      • django CMS Steps
      • Webflow Steps
      • Astro Steps
      • Gatsby Steps
      • HubSpot CMS Steps
      • WooCommerce Steps
      • Shopify Steps
      • Squarespace Steps
        • Then the announcement bar should be visible
        • Then the announcement bar should say "Free shipping on orders over 50"
        • Then the announcement bar should link to "/news"
        • When I close the announcement bar
        • Then the cookie banner should be visible
        • Then the cookie banner should say "We use cookies to improve your experience."
        • When I accept the cookies
        • When I decline the cookies
        • Then the blog should list 3 posts
        • Then the blog post "Get Out There!" should be visible
        • When I open the blog post "Get Out There!"
        • Then the blog post title should be "Get Out There!"
        • Then the blog post should show the author "Author Name"
        • Then the blog post should show the date "May 28"
        • Then the gallery should show 3 images
        • When I search the site for "news"
        • Then the search results should contain "News"
        • Then the search should find 2 results
        • Then the search should find no results
        • When I fill in the form field "Email" with "info@webship.co"
        • When I choose "Press inquiry" for the form field "Inquiry"
        • When I submit the form
        • Then the form should show an error for the field "Email"
        • Then the form should show the error "Email is required."
        • Then the form should show the submitted confirmation
        • When I fill in the newsletter form field "Email Address" with "subscriber@example.com"
        • When I submit the newsletter form
        • Then the newsletter form should show an error for the field "Email Address"
        • Then the newsletter form should show the error "Email Address is required."
        • Then the newsletter form should show the submitted confirmation
        • Then the site navigation should contain "Shop"
        • Then "News" should be the current navigation item
        • Then the desktop navigation should be visible
        • Then the mobile navigation toggle should be visible
        • When I open the mobile menu
        • When I close the mobile menu
        • Then the mobile menu should be open
        • Then the mobile menu should contain "News"
        • When I open the "About" navigation folder
        • Then the "About" navigation folder should contain "Contact"
        • Then the hero title should be "Starts With You"
        • Then the hero call-to-action button should link to "/take-action"
        • Then the site footer should be visible
        • Then the footer should show a copyright notice
        • Then the footer navigation should contain "Contact"
        • Then the site should use version "7.1"
        • Then the site title should be "Bailard Foundation"
        • Then the site language should be "en-US"
        • Then the shop should list 6 products
        • Then the shop should list the product "Genuine Gemini"
        • When I open the product "Genuine Gemini"
        • Then the product title should be "Genuine Gemini"
        • Then the product price should be "$25.00"
        • When I set the product quantity to 2
        • When I add the product "Genuine Gemini" to the cart
        • When I add the product to the cart
        • When I open the cart
        • Then the cart should contain 1 item
      • Ghost Steps
      • Backdrop CMS Steps
      • PrestaShop Steps
      • Craft CMS Steps
      • Jira Steps
      • Laravel Steps
      • Filament Steps
      • Symfony Steps
      • CodeIgniter Steps
      • Bootstrap Steps
      • UIkit Steps
      • Flutter Steps
      • Svelte Steps
      • Vue Steps
      • Angular Steps
      • FastAPI Steps
      • Immich Steps
      • Material UI Steps
      • Headless UI Steps
      • Uptime Kuma Steps
      • Home Assistant Steps
      • Grafana Steps
      • MantisBT Steps
      • NestJS Steps
      • Phorge Steps
      • MediaWiki Steps
      • Moodle Steps
      • Django Steps
      • Next.js Steps
      • Strapi Steps
      • Docusaurus Steps
      • Payload Steps
      • Discourse Steps
      • Keycloak Steps
      • Nextcloud Steps
      • Spring Boot Steps
      • ASP.NET Core Steps
      • Wagtail Steps
      • phpBB Steps
      • bbPress Steps
      • Mautic Steps
      • Penpot Steps
      • BuddyPress Steps
      • LearnPress Steps
      • OpenCart Steps
      • Roundcube Steps
      • OpenProject Steps
      • Redmine Steps
      • Gitea Steps
      • Plane Steps
      • Leantime Steps
      • Vikunja Steps
      • Kanboard Steps
      • Wekan Steps
      • Taiga Steps
      • Diffy Steps
  • Webship Workspace 1.0.x
    • Getting started
    • Walkthroughs in pictures
    • Runtimes: DDEV, Docker Compose, Podman, Kubernetes, Lando and Docksal
    • User guide
    • The dashboard, page by page
    • Workspaces
    • Workspace folders: kinds, types and settings
    • Plugins
    • Using plugins: a help guide
    • Platform plugins on every runtime
    • Testing
    • AI items from any repository, into any AI CLI
    • Several AI providers on one spec
    • Releases
    • Developer guide
    • Reference

Breadcrumb

  1. Home
  2. Documentation
  3. Webship JS 2.0.x
  4. External Steps
  5. Squarespace Steps

When I open the cart

Open the cart with the cart link of the header (the cart page, /cart).

Examples

When I open the cart
When we open the cart
And I open the cart
When open the cart
And we open the cart

Pattern

When(/^(I |we )*open the cart$/, …)

Part of @webship-js/squarespace-steps (github.com/webship/squarespace-steps), a step pack for Webship-js 2.0.x.

Book traversal links for Documentation

  • Previous When I add the product to the cart
  • Up
  • Next Then the cart should contain 1 item

Boost your site's success with automated testing

For Commercial Professional Support

Contact Us

On this page

    Type to find a page. Enter opens the selected page; with nothing selected, Enter searches the whole site.

    Daily Automated Functional Acceptance Testing   

    © Copyrights 2022 - 2026 Webship.co All Rights Reserved.

    Webtheme Footer

    • Privacy
    • About us
    • Contact

    Home

    Webtheme social media menu

    • Github
    • Gitlab
    • Bitbucket
    • X
    • Linkedin
    • Youtube