Skip to main content
Home

Main navigation

  • Home
  • Products
  • Services
  • Docs
  • Blog
  • About us
  • Contact
Documentation
  • Webship JS 2.0.x
    • Install Webship JS
      • DDEV Webship-JS
    • Global Settings
    • Step Definitions
    • API Steps
      • Given I am authenticating as "username" with "pa$$word" password
      • Given I set header "Header-Name" with value "Some-Value"
      • Given I set placeholder "{{placeholder}}" to "value"
      • Given I set the following headers:
      • Given I set the header "Header-Name" to "Header-Value"
      • Given I set the request body to 'JSON-data'
      • Given I set the request body with:
      • Given the API base URL is "url"
      • Then print API response
      • Then the API response code should be {number}
      • Then the API response should contain "text"
      • Then the API response should contain json:
      • Then the API response should not contain "text"
      • Then the JSON response should have "propertyPath" equal to "value"
      • Then the JSON response should have property "propertyPath"
      • Then the JSON response should not have property "propertyPath"
      • Then the response header "response header" should be "value"
      • Then the response should be valid JSON
      • When I send a METHOD request to "endpoint"
      • When I send a METHOD request to "endpoint" with body:
      • When I send a METHOD request to "endpoint" with form data:
      • When I send a METHOD request to "endpoint" with values:
    • Accessibility Steps
    • Action Steps
      • When I press "button"
        • When I press "button" by attribute
      • When I click "link"
        • When I click "link" by attribute
      • When I click "operation" in "text" row
      • When I attach the file "file name" to "element"
    • Assertion Steps
      • Then I should see
        • Then I should see "text in the page"
        • Then I should not see "text in the page"
        • Then I should see text matching "text pattern"
        • Then I should not see text matching "text pattern"
        • Then I should see text matching "text pattern" in the "element" element
        • Then I should not see text matching "text pattern" in the "element" element
        • Then I should see (a/an) "field" element
        • Then I should not see "value" in the "text" element
        • Then I should not see (a/an) "field" element
        • Then I should see "value" in the "text" element
        • Then I should see "value" in the "text" element by attr
        • Then I should not see "value" in the "text" element by attr
      • Then the item should contain
        • Then the "item" field should contain "value"
        • Then the "item" field should not contain "value"
        • Then the response should contain "text in the page"
        • Then the response should not contain "text in the page"
        • Then the "item" element should contain "CSS style"
        • Then the "item" element should not contain "CSS style" - Cloned
      • Then I should see "operation" in "text" row
      • Then the response status code should be {number}
    • Auth State Steps
    • Clock Steps
    • Cookie Steps
    • Debug Steps
    • Dialog Steps
    • Element Steps
    • Field Steps
      • Then the "item" checkbox
        • Then the "item" checkbox is checked
        • Then the "item" checkbox is not checked
        • Then the "item" checkbox should be checked
        • Then the "item" checkbox should not be checked
      • Then the "value" radio button is selected
      • Then the radio button "value" should be selected
    • File Download Steps
    • Form Steps
      • When I fill in
        • When I fill in "field" with "value"
        • When I fill in "field" with "value" by its attribute
        • When I fill in "field" with empty value by its attribute
        • When I fill in "value" for "field" by its attribute
        • When I fill in the following: by its attribute
        • When I fill in "value" for "field"
        • When I fill in "field" with:
          • When I fill in "field" with empty value by its attribute
        • When I fill in the following:
      • When I check "checkbox"
      • When I uncheck "checkbox"
      • When I select "option" from "select list"
        • When I select "option" from "select list" by attribute
      • When I select radio button "value"
    • Iframe Steps
    • Input Steps
    • JavaScript Steps
    • Keyboard Steps
    • Link Steps
      • Then the "item" link should contain "url"
    • Meta Tag Steps
    • Modal Steps
    • Navigation Steps
      • Given I am on homepage
      • Given I am on "specific" page
      • When I go to the homepage
      • Given I am an anonymous user
      • When I go to "specific page"
      • When I reload the page
      • When I move backward one page
      • When I move forward one page
      • Then I should be
        • Then I should be on (the) homepage
        • Then I should not be on (the) homepage
        • Then I should be on "specific page"
        • Then I should not be on "specific page"
    • Network Steps
    • Path Steps
    • REST Steps
    • Response Steps
    • Responsive Steps
    • Screenshot Steps
      • Then I save "width" x "height" screenshot
      • Then I save fullscreen "width" x "height" screenshot
      • Then I save fullscreen screenshot
      • Then I save screenshot
      • Then I save screenshot with name "filename"
      • When I save "width" x "height" screenshot
      • When I save fullscreen "width" x "height" screenshot
      • When I save fullscreen screenshot
      • When I save screenshot
      • When I save screenshot with name "filename"
    • Scroll Steps
      • When I scroll
        • When I scroll down
        • When I scroll up
        • When I scroll to top
        • When I scroll to the bottom
        • When I scroll to top of "<selector>"
        • When I scroll to bottom of "<selector>"
        • When I scroll right
        • When I scroll left
        • When I scroll to start
        • When I scroll to the end
        • When I scroll to start of "<selector>"
        • When I scroll to end of "<selector>"
    • Selector Steps
      • Given I am viewing the site on a "quoted" "bare"
      • Given I define css selectors: "dataTable"
      • Given I define xpath selectors: "dataTable"
      • Then "subjectText" has focus
      • Then I don't see "subjectsText"
      • Then I print css selectors
      • Then I print xpath selectors
      • Then I see "subject" above "others"
      • Then I see "subject" below "others"
      • Then I see "subject" not over "others"
      • Then I see "subject" outside of "others"
      • Then I see "subject" over "others"
      • Then I see "subject‎" inside of "others‎"
      • Then I see "subject‎" to the left of "others‎"
      • Then I see "subject‎" to the right of "others‎"
      • Then I see visible "subjectsText"
      • When I add "selectorName" selector for "cssSelector" css selector
      • When I add "selectorName" selector for "xpathSelector" xpath selector
      • When I click "subjectsText"
      • When I move focus to "fieldLabel" field
      • When I select "selectedText" text in "fieldLabel" field
      • When I select all text in "fieldLabel" field
      • When I select from "fromNum" to "toNum" text in "fieldLabel" field
    • Storage Steps
    • Table Steps
    • Video Steps
    • Wait Steps
      • When I wait
        • When I wait until the page loaded
        • When I wait {number} seconds
        • When I wait max of {number} seconds
        • When I wait {number} minutes
        • When I wait max of number minutes
      • When I wait for AJAX to finish
    • Web First Steps
    • XML Steps
    • YAML Steps
    • Extra Steps
      • Drupal Core Steps
        • Then I should be denied access to "/admin/people"
        • Then I should be allowed access to "/admin/content"
        • Then the page should be access restricted
        • Then I should be able to edit the content at "/sample-article"
        • Then the page should not have PHP errors
        • Then the "Article" content type should exist
        • When I save the content
        • Then the "Title" field should block submission as required
        • Then the content moderation state should be "Draft"
        • When I change the moderation state to "Published"
        • Given I am on the login page
        • Then I should see the login form
        • Then the site should be running Drupal
        • Then the core JavaScript settings should be initialized
        • Then I should be on the front page
        • Then I should be on an admin page
        • Then I should see the toolbar
        • Then I should see the navigation sidebar
        • Then I should see the breadcrumb
        • Then I should see the local tasks
        • Then I should see the page title "Log in"
        • Then I should see a status message
        • Then I should see a warning message
        • Then I should see an error message
        • Then I should be on an "article" page
        • When I create an "article" content item titled "Release notes"
        • Then I should see an empty listing
        • When I log in as "admin" with password "admin"
        • Then I should be logged in
        • When I log out
        • When I request a new password for "admin"
        • When I search for "webship"
        • Then I should see search results
        • When I submit the contact form with subject "Question" and message "Hello there"
        • Then I should be on the access denied page
        • Then the page should be served from the page cache
        • Given I am a logged in user with the "admin" user
        • Given I am not logged in
        • Then the page should return HTTP status 200
        • Then I should see the "Edit" operation for the "Sample article" content
        • When I open the "Edit" link in the "Sample article" row
        • Then "Home" should be in the breadcrumb
        • Then the checkbox labeled "Published" should be checked
        • Then I should see an image with the "Sample image alt text" alt text
        • When I fill in the rich text editor field "Body" with "Hello from the suite"
        • When I append the rich text editor field "Body" with "<p>One more paragraph</p>"
        • When I click on "Bold" command button in the rich text editor field "Body"
        • When I open the "field_media" media library
        • When I select the media "Sample image"
        • When I insert the selected media
        • Given I am adding an "article"
        • Then the content item should be published
        • When I delete the content item I am viewing
        • When I flush all caches
        • When I submit by id "edit-submit"
        • When I expand the "Menu settings" details
        • When I open the "Promotion options" vertical tab
        • When I wait for the AJAX throbber to disappear
        • When I confirm the deletion
        • When I fill in the link URL "https://example.com"
        • When I choose the "Sample article" autocomplete suggestion
        • Then the rich text editor field "Body" should contain "Hello"
        • Then the rich text editor toolbar should have the "Bold" button
        • When I view the content item I created
        • When I edit the content item I created
        • When I delete the content item I created
        • When I create a "tags" taxonomy term named "Playwright"
        • When I add a menu link titled "Sample" to "/sample-article" in the "main" menu
        • When I open the layout of the content item I am viewing
        • When I add a "Two column" section at the end of the layout
        • When I save the section
        • When I save the layout
        • Then the layout should have 1 section
        • When I revert the layout to the default
        • Then the navigation toolbar should list "Content"
        • When I click "Content" in the navigation toolbar
        • When I open the top bar page actions
        • Then the top bar should offer the "Edit" action
        • When I choose the "Edit" action in the top bar
        • Then the "node" module should be installed
        • Then the default theme should be "Olivero"
        • Given I am on the default theme settings page
        • Then the "Content editor" role should exist
        • Then the "Main navigation" menu should contain "Home"
        • Then the front page path should be "/node"
        • Then the page should have the canonical URL "/sample-article"
        • Then the "description" meta tag should contain "Sample"
        • Given I add the testing users
        • Given I delete the testing users
      • Diffy Steps
        • When I resize window to "1200"
        • Then I take screenshot
        • Then I take screenshots for all breakpoints
        • Then send screenshots to diffy with name "baseline"
        • Then create diffy comparison
        • Then create diffy comparison with name "release-2.0"
        • Then create diffy screenshot from "production" environment
        • Then create diffy screenshot from the custom environment "https://stage.example.org"
        • Then compare diffy "prod" with "stage"
        • Then upload folder "./screenshots/baseline" to diffy as "baseline"
        • Then wait for diffy comparison to complete
        • Then wait for diffy screenshots to complete
        • Then the diffy comparison should have changes
        • Then the diffy comparison should have at most "0" percent of pages changed
        • Then set the last diffy screenshots as the baseline
        • Given the diffy project is reachable
      • Drupal CMS Steps
        • When I save the "Heading" component as the Canvas pattern "Page heading"
        • Then the Canvas pattern library should list the "Page heading" pattern
        • When I delete the "Page heading" Canvas pattern
        • When I open the "Full content template" template in the Canvas editor
        • Then the Canvas editor should be editing "Utility page - Full content template"
        • When I open the media library of the Canvas component option "Image"
        • When I upload "tests/fixtures/sample.png" to the media library with the alternative text "A blue sample image"
        • Then the Canvas component option "Image" should hold the media "sample.png"
        • When I add a Canvas page from the Pages listing
        • When I set the Canvas page "Title" to "Landing"
        • Then the Canvas editor should show the page as "Draft"
        • Then the Canvas editor should have no pending changes
        • Then publishing the Canvas page changes through the editor should fail with "is already in use"
        • When I discard the pending Canvas changes
        • When I open the "Layers" panel in the Canvas editor
        • Then the Canvas "Pages" panel should list "Home"
        • When I select the "Heading" component in the Canvas Layers
        • When I delete the "Heading" component in the Canvas Layers
        • Then the Canvas preview should show "Welcome"
        • When I delete the "Landing" page from the Canvas page list
        • Given a new Canvas page "Landing" at "/landing"
        • When I create a Canvas page "Welcome" at "/welcome" with the "sdc.mercury.heading" component:
        • When I create a Canvas page "Promo" at "/promo" with the "Hero CTA" component
        • When I add the "Heading" component to the bottom of the "Landing" Canvas page and publish it:
        • When I add the "Text" component to the bottom of the "Landing" Canvas page
        • When I publish the Canvas page changes
        • When I delete the "Landing" Canvas page
        • When I visit the "Home" Canvas page
        • Then the "Home" Canvas page should exist
        • Then the Canvas component library should list the "Heading" component
        • When I open the "Home" Canvas page in the editor
        • Then I should see the Canvas editor
        • When I open the "Components" tab in the Canvas Library
        • Then the Canvas Library "Components" tab should list "Heading"
        • When I insert the "Heading" component from the Canvas Library
        • When I set the Canvas component option "Heading" to "Welcome"
        • When I publish the Canvas page changes through the editor
        • When I filter the Canvas Library by "Heading"
        • Then the "Landing" Canvas page should have 1 component
        • Given I am on the recommended add-ons page
        • Then the recommended add-ons should list "AI Assistant"
        • Then the "Forms" add-on should be installed
        • Then the installed add-ons should match the recipes of the suite
        • Then I should see the cookie consent dialog
        • When I accept the cookie consent
        • Given the cookie consent is not given yet
        • When I open the consent settings
        • When I allow the "Matomo" service in the consent settings
        • When I save the consent settings
        • Then the consent for the "matomo" service should be given
        • Then the cookie consent should be stored
        • Then the consent dialog mode should be "silent"
        • When I set the consent dialog mode to "silent"
        • Then the "Drupal CMS" consent service should be enabled
        • When I schedule the content to be published on "2031-01-15" at "09:30"
        • Then the scheduled content should list "Spring campaign"
        • Then the "Basic" workflow should have the "Draft" state
        • When I add a redirect from "old-address" to "/home"
        • Then the path "/old-address" should redirect to "/home"
        • When I delete the redirect from "old-address"
        • When I pass the spam protection of the form
        • Then I should see the form confirmation
        • Then the "Contact" form should have 1 submission
        • When I clear the submissions of the "Contact" form
        • When I log in with the email address of "content editor"
        • Given I am on the dashboard
        • Then I should see the dashboard
        • Then I should see the "Recent content" dashboard section
        • Given I am on the content trash
        • Then the content trash should hold "Old page"
        • When I purge "Old page" from the content trash
        • Given the site template is "drupal_cms_starter"
        • Given the "drupal_cms_forms" recipe is applied
        • Then the site template should be "drupal_cms_starter"
        • Then the site should have at least 1 Canvas page
      • WordPress Steps
        • Then I should see the "At a Glance" dashboard widget
        • Then the admin menu should list "Posts"
        • Then the "Settings" admin submenu should list "Permalinks"
        • When I click "Posts" in the admin menu
        • When I click "Permalinks" under "Settings" in the admin menu
        • Then the admin bar should list "Edit Post"
        • When I click "Edit Post" in the admin bar
        • Then I should see a success notice
        • Then the "Hello Dolly" plugin should be installed
        • When I activate the "Hello Dolly" plugin
        • Then the "Twenty Twenty-Five" theme should be active
        • Then the active theme should be a block theme
        • When I save the settings
        • Then the "Site Title" setting should be "My Site"
        • When I change the "Site Title" setting to "My Site"
        • When I restore the "Site Title" setting
        • When I choose the "Post name" permalink structure
        • When I restore the permalink structure
        • Then the permalink structure should be "Post name"
        • Then the site health test "Scheduled events are running" should pass
        • Then the cron should respond
        • Then the REST API should be available
        • Then the REST route "/wp/v2/posts" should respond with status 200
        • Then the REST route "/wp/v2/users/me" should require authentication
        • Then the REST route "/wp/v2/posts?status=draft" should be refused
        • Then the REST route "/wp/v2/posts" should list at least 1 item
        • Then the REST route "/wp/v2/posts/1" should have "slug" equal to "hello-world"
        • Then the site feed should be a valid RSS feed
        • Then the site feed should list "Hello world!"
        • Then the robots.txt file should be served
        • Then robots.txt should disallow "/wp-admin/"
        • Then robots.txt should list the sitemap
        • Then the XML sitemap should be served
        • When I submit the comment "Thank you for the article."
        • Then I should see the comment "Thank you for the article."
        • Then the comment "Thank you for the article." should be awaiting moderation
        • When I approve the comment "Thank you for the article."
        • Then the comment "Thank you for the article." should be pending
        • Given I am on the new post screen
        • When I open the post "Hello world!" in the editor
        • When I set the post title to "A new post"
        • When I write "Hello from the test." in the post content
        • When I publish the post
        • When I update the post
        • When I save the post as a draft
        • When I submit the post for review
        • When I move the post to the trash
        • Then the editor should offer "Publish"
        • Then the post should be published in the editor
        • Then I should see the editor notice "Post published."
        • When I view the post
        • Then the posts list should include "Hello world!"
        • Then the post "Hello world!" should be published
        • When I move the post "Review post" to the trash from the list
        • When I restore the post "Review post" from the trash
        • When I delete the post "Review post" permanently
        • When I add the category "Reports"
        • Then the category "Reports" should exist
        • When I delete the category "Reports"
        • When I file the post under the category "Reports"
        • When I tag the post with "webship"
        • Then the post should be in the category "Reports"
        • When I upload the media file "webshipco.png"
        • Then the media library should list "webshipco"
        • When I delete the media file "webshipco" permanently
        • Given I am on the login page
        • Then I should see the login form
        • Then I should see a login error
        • Then I should see a login message
        • When I log in as "admin" with password "secret"
        • When I log in as the "admin" user with password "not-the-password"
        • Given I am on the lost password page
        • When I request a password reset for the "subscriber" user
        • Given I am a logged in user with the "admin" user
        • Given I am not logged in
        • When I log out
        • Then I should be logged in
        • Then my account should have the "editor" role
        • Then the admin bar should show the account "webmaster"
        • Given I am on the "Plugins" admin screen
        • Then I should be on the "Dashboard" admin screen
        • Then I should be on the login page
        • Then I should see the access denied screen
        • Then the page should return HTTP status 200
        • Then the navigation menu should list "Sample Page"
        • When I open the navigation menu
        • When I click "Sample Page" in the navigation menu
        • Then I should see the "Search" block
        • Then I should see the header template part
        • Then the page should advertise the REST API
        • Then the page should link to the site feed
        • Then I should see the site title
        • Then I should see the admin bar
        • Then I should see the comment form
        • Given I am on a page
        • Given I am on a post
        • Given I am on a category archive
        • Then I should see the post title
        • Then I should see post entries
        • When I search the site for "hello world"
        • When I search the site for existing content
        • Then I should see the search form
        • When I use the search form to search for "hello"
        • Then I should see search results for "hello world"
        • Then I should see no search results for "qzxjvwk"
        • Then the search results should include "Hello world!"
      • Odoo Steps
        • When I create a new record
        • When I save the record
        • When I try to save the record
        • When I discard the changes
        • Then the record should have unsaved changes
        • When I set the "Customer" field to "Azure Interior"
        • When I set the fields:
        • When I check the "Can be Sold" field
        • When I remove "Product" from the "Tags" field
        • Then the "Customer" field should be "Azure Interior"
        • Then the "Can be Sold" field should be checked
        • Then I should see the "Customer" field
        • Then the "Customer" field should be required
        • When I click the "Confirm" button in the form
        • Then I should see the "Confirm" button in the form
        • Then the status should be "Sales Order"
        • When I set the stage to "Proposition"
        • When I open the "Order Lines" tab
        • Then I should see the "Order Lines" tab
        • When I add a line with "Add a product":
        • Then I should see the line "Office Chair"
        • Then I should see a dialog
        • Then I should see "Are you sure" in the dialog
        • When I click the "Ok" button in the dialog
        • When I confirm the dialog
        • Then I should see an access error
        • Then I should see the notification "Invalid fields"
        • When I close the notifications
        • Then I should see the chatter
        • When I log the note "Called the customer, waiting for the order"
        • When I send the message "Your order is confirmed"
        • Then I should see "Called the customer" in the chatter
        • Given I am on the login page
        • Then I should see the login form
        • When I log in as "admin" with password "secret"
        • Given I am a logged in user with the "admin" user
        • Given I am not logged in
        • Then I should see an login error
        • When I log out
        • Then I should be logged in
        • Then I should be logged in as "admin"
        • Then I should be in the web client
        • Then I should be in the portal
        • When I open the user menu
        • Then I should see "My Profile" in the user menu
        • When I choose "My Profile" in the user menu
        • Then I should be on a website page
        • Then I should see the top menu
        • Then I should see the footer
        • Then I should be on the blog page
        • Then I should be on an blog post page
        • Then I should see the blog post titled "Customer Reviews"
        • Then I should be on the shop page
        • Then I should be on an product page
        • When I open the first product in the shop
        • When I search the shop for "mug"
        • Then I should see shop search results for "desk"
        • Then I should see the "Customizable Desk" product in the shop
        • When I add the product to the cart
        • Then I should see "1" item in the cart
        • Then I should be on the events page
        • Then I should be on the jobs page
        • Then I should see job openings
        • Given I am on the contact us page
        • Then I should see the contact us form
        • When I fill in the contact form with:
        • When I submit the contact form
        • Then I should see the contact form confirmation
        • Then I should see a contact form error
        • Then I should be able to edit the website
        • When I open the website editor
        • Then I should see the website editor
        • Then I should see the "Text" building block
        • When I save the website editor
        • Then I should be on the 404 page
        • When I open the "CRM" app
        • Then I should see the "CRM" app
        • Then I should be in the "CRM" app
        • When I open the "Orders > Quotations" menu
        • Then I should see the "Orders" menu
        • When I open the "sale.action_quotations_with_onboarding" action
        • Then I should see "Quotations" in the breadcrumb
        • Then the breadcrumb title should be "Quotations"
        • When I go back to "Quotations" in the breadcrumb
        • When I switch to the list view
        • Then I should see the list view
        • When I search the records for "chair"
        • When I filter the records by "Won"
        • When I group the records by "Salesperson"
        • Then I should see the "My Pipeline" search facet
        • When I remove the "My Pipeline" search facet
        • When I clear the search
        • Then I should see the "Azure Interior" record
        • When I open the "Azure Interior" record
        • Then I should see 3 records
        • Then I should see no records
        • When I select the "S00007" record
        • When I select all records
        • Then I should see 1 selected record
        • When I choose "Delete" in the Actions menu
        • Then I should see the "Mitchell Admin" group
        • When I open the "Mitchell Admin" group
        • Then the pager should read "1-15 / 15"
        • When I go to the next page of records
        • Then I should see the "New" column
        • Then I should see the "Quote for 600 Chairs" card in the "Qualified" column
        • Then the "New" column should have 2 cards
        • When I drag the "Quote for 600 Chairs" card to the "Proposition" column
      • Joomla Steps
        • Given I am on the administrator login page
        • When I log in to the administrator panel as "admin" with password "Admin123456789!"
        • Given I am a logged in user with the "admin" user
        • Given I am not logged in
        • When I log out of the administrator panel
        • Then I should see the administrator dashboard
        • Then I should see an invalid login error in the administrator panel
        • Then I should be on the administrator login page
        • Then I should be logged in to the administrator panel
        • Given I am on the administrator "Articles" page
        • Then I should be on the administrator "Articles" page
        • Then I should see the administrator page title "Articles"
        • Then I should see the administrator menu
        • When I open the administrator menu item "Content > Articles"
        • Then I should see the administrator menu item "Content > Articles"
        • When I click the "New" toolbar button
        • Then I should see the "New" toolbar button
        • Then I should see the "Logged-in Users" dashboard module
        • Then the Joomla version should start with "6"
        • When I search the list for "Welcome"
        • When I filter the list by "Select Status" with "Trashed"
        • When I select the row "Welcome to your blog"
        • When I select all rows
        • Then I should see the row "Typography" in the list
        • Then I should see an empty list
        • When I publish the article "Review article"
        • When I delete the article "Review article" permanently
        • When I open the article "Typography" for editing
        • Then the article "Typography" should exist
        • Given the article "Review article" is removed
        • Then the article "Review article" should be published
        • When I create an article titled "Review article"
        • When I create a category titled "Review category"
        • When I create a menu titled "Review menu"
        • When I delete the menu "Review menu"
        • When I create a menu item titled "Review item" in the "Main Menu Blog" menu of the type "Articles > Featured Articles"
        • When I create a "Custom" site module titled "Review module" with the text "Review text." in the "sidebar-right" position
        • When I fill in the rich text editor with "<p>Hello</p>"
        • Then the rich text editor should contain "Hello"
        • When I choose "Blog" in the "Category" field
        • When I switch "Featured" to "Yes"
        • When I open the "Publishing" tab
        • Then the field labelled "Title" should have the value "Typography"
        • When I set the field labelled "Site Name" to "Joomla Review"
        • When I upload the file "tests/fixtures/pixel.png" to the media manager
        • Then I should see the media file "pixel.png"
        • When I delete the media file "pixel.png"
        • When I open the "Blog" menu item
        • When I open the mobile menu
        • Then I should see the "Blog" menu item
        • When I read more of "Joomla"
        • Then I should be viewing the "Joomla" article
        • Then the breadcrumb should show "Home > Blog"
        • Given I am on the login page
        • Then I should see the login form
        • When I log in to the site as "member" with password "Member123456789!"
        • Given I am logged in to the site with the "member" user
        • When I log out of the site
        • Then I should be logged in to the site
        • Then I should see an invalid login error on the site
        • Then I should see a success message "Article saved."
        • Then I should see no system messages
        • When I search the site for "joomla"
        • When I search the site for a word from the first article
        • Then I should see that word in the search results
        • Then I should see no search results
        • Then I should see "Joomla" in the search results
        • Then I should see at least 1 search result
        • When I open the search result "Joomla"
        • Then I should be on the 404 page
        • Then the site should be running Joomla
        • Then I should see the "Popular Tags" module
        • Then I should see the language switcher
        • When I switch the site language to "Français"
        • Then the user "member" should be in the "Registered" group
        • Then the access level "Registered" should include the "Registered" group
        • Then the group "Registered" should have 1 enabled user
        • When I clear all caches
        • When I clear the expired cache
        • When I check in all items
        • Then there should be checked out items
      • TYPO3 Steps
        • When I fill in the "Page Title" record field with "News"
        • When I select "Center" in the "Alignment" record field
        • When I open the "Access" record tab
        • When I save the record
        • When I close the record
        • When I delete the record
        • Then the "Page Title" record field should contain "News"
        • Then the "Page Title" record field should be marked as invalid
        • When I confirm the dialog
        • When I press "Delete record (!)" in the dialog
        • Then I should see the dialog "Delete this record?"
        • When I add a "Header Only" content element to the "Normal" column
        • Then I should see the "Welcome" content element in the page module
        • When I edit the "Welcome" content element
        • Then the "Welcome" content element should be hidden
        • Then I should see the "Page Content" table in the list module
        • Then I should see the record "Welcome" in the "Page Content" table
        • When I edit the record "Welcome" in the "Page Content" table
        • Then the record "Welcome" in the "Page Content" table should be hidden
        • Given there is no "Congratulations > 404 > Webship test page" page
        • Given I am a logged in user with the "admin" user
        • When I log in to the backend as "admin" with password "wrong"
        • When I log out
        • Given I am not logged in
        • Then I should be logged in
        • Then I should see a login error
        • When I open the "Page" module
        • Then I should see the "Page" module
        • Then the "Page" module should be active
        • Then I should see "Please select a page" in the module
        • Then the module heading should be "Congratulations"
        • When I click "Edit page properties" in the module
        • When I select the "Congratulations" page in the page tree
        • When I expand the "Congratulations" page in the page tree
        • Then I should see the "Congratulations" page in the page tree
        • Then the "Congratulations > Features" page should not be hidden in the page tree
        • When I search the page tree for "Rich Text"
        • When I choose "New subpage" from the context menu of the "Congratulations > 404" page
        • Then I should see the notification "Record saved"
        • Then I should see the info message "Please select a page" in the module
        • When I flush the frontend caches
        • When I clear the cache of the page
        • When I open the "Features" menu item
        • Then I should see the "Features" menu item
        • When I open the mega menu
        • When I open the "Accordion" dropdown link
        • Then I should see the "Accordion" dropdown link
        • Then I should be viewing the "Accordions" page
        • When I open the "Media Left" accordion panel
        • Then the "Media Left" accordion panel should be open
        • Then I should see "short video" in the "Media Left" accordion panel
        • When I open the dropdown of the "Pages" menu item
        • Then the "Features" menu item should be current
        • When I open the "Login" subnavigation item
        • Then I should see the "Forms" subnavigation item
        • Then I should see the breadcrumb
        • Then the breadcrumb should contain "Content Examples"
        • When I switch to the "Deutsch" language
        • Then the "Deutsch" language should be available
        • Then I should see a "text" content element
        • Then I should see 3 "texticon" content elements
        • Then I should see "ready to use search" in the "Indexed Search" content element
        • When I search the site for "TYPO3"
        • Then I should see search results
        • Then I should see "Features" in the search results
        • When I submit the "introductionContactForm" form
        • Then the "Email" field should be marked as invalid
        • Then I should see the error "This field is mandatory." for the "Email" field
        • Then I should be on the 404 page
        • Then the site should be running TYPO3
      • django CMS Steps
        • Given I am on the users list
        • Then I should see "editor" in the admin list
        • When I open "editor" in the admin list
        • Then the user "editor" should be staff
        • Then the user "editor" should be in the "Editors" group
        • Then the "Editors" group should have the "Can change page" permission
        • Then the administration should offer "Page contents"
        • When I open the create wizard
        • Then the create wizard should offer "New page"
        • When I create a page titled "News" with the wizard
        • When I open the page for editing
        • Then I should be in edit mode
        • When I preview the page
        • When I open the structure board
        • Then I should see the structure board
        • Then I should see the "Page Content" placeholder
        • When I add a "Text" plugin to the "Page Content" placeholder
        • When I add a text plugin with "Hello, world." to the "Page Content" placeholder
        • When I fill in the text editor with "Hello, world."
        • Then the text editor should contain "Hello, world."
        • When I save the plugin
        • When I edit the "Text" plugin in the "Page Content" placeholder
        • When I delete the "Text" plugin in the "Page Content" placeholder
        • Then the "Page Content" placeholder should have a "Text" plugin
        • Then the "Page Content" placeholder should have 1 plugin
        • When I publish the page
        • When I unpublish the page
        • Then the page version should be "Draft"
        • Then the page should be at version 1
        • Then the page should have editable plugins
        • Given I am on the django CMS page tree
        • Then I should see the page tree
        • Then I should see "Home" in the page tree
        • Then the page "About" should be published in the page tree
        • Then the page "Team" should be a sub page of "About" in the page tree
        • Then the page "Home" should be the home page in the page tree
        • When I open the page "Draft notes" from the page tree
        • When I open the settings of the page "About" in the page tree
        • When I publish the page "Draft notes" in the page tree
        • When I delete the page "News" in the page tree
        • When I move the page "Team" under the page "Contact" in the page tree
        • Given I am a logged in user with the "admin" user
        • When I log in as "admin" with password "wrong-password"
        • Then I should see a login error
        • Given I am on the login page
        • Then I should see the login form
        • Given I am not logged in
        • When I log out
        • Then I should be logged in
        • Then I should be allowed to open "/admin/cms/pagecontent/"
        • Then the navigation menu should list "About"
        • When I click "About" in the navigation menu
        • Then "About" should be the active navigation menu entry
        • Then I should see the breadcrumb
        • Then the breadcrumb should contain "About"
        • When I switch the language to "Deutsch"
        • Then the language chooser should offer "Deutsch"
        • Then the active language should be "English"
        • Then I should be on the page not found page
        • Then I should see the django CMS welcome screen
        • Then the site should be running django CMS
        • Then I should see the CMS toolbar
        • When I click "Pages" in the CMS toolbar menu
        • When I click "Page settings" in the "Page" toolbar menu
        • Then the toolbar should have the "Page" menu
        • Then the "site" toolbar menu should list "Pages"
        • When I click the "Create" toolbar button
        • Then the toolbar should have the "Publish" button
        • Then I should see the CMS message "Version published"
        • Then the CMS modal should be open
        • Then the CMS modal title should be "Create"
        • Then the CMS sideframe should be showing "/admin/cms/pagecontent/"
        • Then I should see "Provide a title for the new page." in the CMS modal
        • When I fill in "Title" with "News" in the CMS modal
        • When I click "Next" in the CMS modal
        • When I close the CMS modal
      • Gatsby Steps
        • Then I should see an optimized image
        • Then the optimized image should be loaded
        • Then the optimized image should offer the "avif" format
        • Then the optimized image should have a placeholder
        • Then the page-data for "/" should be available
        • Then the 404 page should be available
        • Then I should be on a 404 page
        • Then I should be on the default 404 page
        • Then the page title should be "Home | Gatsby Default Starter"
        • When I click the link "Page 2" without a full page reload
        • When I go back without a full page reload
        • Then the page should have a route announcer
        • Then the route announcer should announce "Hi from the second page"
        • Then the page "/page-2/" should be prefetched
        • Then the scroll position should be restored
        • Then the page should be generated by Gatsby
        • Then the page should be generated by Gatsby version "5"
        • Then the site should be a production build
        • Then I should see a hydrated page
        • Then there should be no hydration errors
        • Then the page should be from the current build
        • Then the page head should be set by the Head API
        • Then the web app manifest should be valid
        • Then I should see "Welcome to Gatsby!" without JavaScript
      • Astro Steps
        • Then I should see an optimized image
        • Then every optimized image should have a width and a height
        • Then every optimized image should load lazily
        • Then the optimized image should offer the "avif" format
        • Then every optimized image should be loaded
        • Then the page should have 4 islands
        • Then the "client:load" island should be hydrated
        • Then I should see a navigation menu with the following links:
        • Then all navigation links should resolve successfully
        • Then the page should use view transitions
        • When I click the link "About" without a full page reload
        • When I go back without a full page reload
        • Then the "astro:page-load" event should have fired
        • Then the last transition should have gone "forward"
        • Then the persistent elements should have been kept
        • Then the "main" element should have a view transition
        • Then the page should have a route announcer
        • Then the route announcer should announce "About | Astro Steps Demo"
        • Then the page "/about/" should be prefetched
        • Then I should see the Astro generator meta tag
        • Then the page should be generated by Astro version "7"
        • Then the site should be a production build
        • Then the page should not ship JavaScript
        • Then the page should have scoped styles
        • Then the 404 page should be available
        • Then the sitemap should list "/about/"
        • Then the RSS feed should be valid
        • Then the RSS feed should list "The first post"
        • Then the page title should end with "| Astro Steps Demo"
      • Webflow Steps
        • Then I should see 3 items in the "features" collection list
        • Then I should see at least 1 item in the "features" collection list
        • Then the "features" collection list should not be empty
        • Then the "archive" collection list should show the empty message
        • Then the "features" collection list should contain "Fast"
        • When I open the cart
        • Then the cart should be open
        • Then the cart should be empty
        • Then the cart should contain 1 item
        • Then the cart should contain "Course"
        • Then the cart total should contain "19"
        • When I continue to checkout
        • When I add the product to the cart
        • Then the product should be out of stock
        • Then I should see the add to cart error
        • Then I should see the checkout form
        • Then the checkout form should have the "customer information" section
        • When I select the "Monthly" tab
        • Then the "Monthly" tab should be selected
        • Then the "Monthly" tab content should be visible
        • When I go to the next slide
        • Then the slider should show slide 1 of 3
        • Then the slider should have 3 slides
        • When I open the "Products" dropdown
        • Then the "Products" dropdown should be open
        • Then the "Products" dropdown should list "Pricing"
        • When I open the lightbox
        • When I close the lightbox
        • Then the lightbox should be open
        • Given the webflow form endpoint accepts submissions
        • Given the webflow form endpoint rejects submissions
        • Given the Turnstile challenge passes
        • When I submit the webflow form
        • Then I should see the webflow form success message
        • Then I should see the webflow form error message
        • Then the form success message should contain "Thank you"
        • Then the webflow form should be protected by a challenge
        • Then the form submit button should be disabled
        • Then the background video should be playing
        • Then the background video should have a pause control
        • When I pause the background video
        • Then I should see the webflow navigation menu
        • When I open the mobile menu
        • Then the mobile menu should be open
        • Then the "Home" navigation link should be the current page
        • Then the navigation should list "Home"
        • Then this should be a webflow page
        • Then this should be the webflow site "6a282ca3f318327eefc29a02"
        • Then I should see the Webflow badge
      • HubSpot CMS Steps
        • Then the blog should list at least 1 post
        • When I open the blog post titled "Why BDD testing matters for marketing sites"
        • When I go to page 2 of the blog
        • Then the blog should have pagination
        • Then the blog should have the tag "Testing"
        • When I open the blog tag "Testing"
        • Then the blog post should be written by "Jane Doe"
        • When I accept the cookie banner
        • When I decline the cookie banner
        • When I dismiss the cookie banner
        • Then the cookie banner should be visible
        • Then the cookie consent should be accepted
        • Given the cookie consent is accepted
        • Then the page should have a form
        • Then the form should have a field "email"
        • When I fill in the form field "email" with "jane@example.com"
        • When I tick the form checkbox "I agree to receive other communications"
        • When I submit the form
        • Then the form field "email" should be required
        • Then the form field "email" should show an error
        • Then the form should show an error
        • Then the form should show a success message
        • Then the menu should have a link labeled "Pricing"
        • Then the menu link "Pricing" should link to "/pricing"
        • Then the menu item "Services" should have a submenu link "Google Ads Management"
        • When I open the menu item "Services"
        • When I click the menu link "Pricing"
        • Then the menu link "Pricing" should be active
        • When I click the CTA "See Pricing"
        • Then the CTA "Get Started" should be visible
        • Then the CTA "See Pricing" should link to "/pricing"
        • Then the page should have a site search
        • When I search the site for "pricing"
        • Then the search results should list at least 1 result
        • Then the search should find no results
        • Then the search results should include "Pricing"
        • When I open the search result "Pricing"
        • Then the page should be a website page
        • Then the page should be a HubSpot page
        • Then the tracking code should be installed
        • Then the chat widget should be present
        • Then the page should have a meetings embed
        • Then the page should have a language switcher
        • Then the page should be available in the language "de"
        • When I switch the language to "de"
        • Then the page should have the canonical address "/pricing"
        • Then the page should be hidden from search engines
      • 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 Squarespace 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
  • Webship Workspace
    • Getting started
    • User guide
    • The dashboard, page by page
    • Workspaces
    • Workspace folders: kinds, types and settings
    • Plugins
      • The plugin contract
      • AI Agents
      • AI Commands
      • AI Prompts
      • AI Skills
      • Audio
      • Avatars
      • Demos
      • Designs
      • Dev
      • Docs
      • Drupal modules
      • Drupal profiles
      • Drupal recipes
      • Drupal site templates
      • Drupal themes
      • Images
      • Libraries
      • Products
      • Projects
      • RAG
      • Sandboxes
      • Specs
      • Test
      • Videos
      • Worklogs
      • Acquia Cloud
      • AWS
      • Azure
      • cPanel
      • DigitalOcean
      • GoDaddy
      • Upsun
      • Bitbucket
      • GitHub
      • GitLab
      • Docker Compose
      • Docksal
      • Graphs
      • Jira
      • Kubernetes
      • Lando
      • Podman
      • Git
      • Google Drive
      • Web IDE
      • Container base
      • Forge base
      • Hosting base
      • Plugin API
    • Testing
    • Releases
    • Developer guide
    • Reference

Breadcrumb

  1. Home
  2. Documentation
  3. Webship JS 2.0.x
  4. Extra 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