Commit 319107e8 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3258410: Update Varbase profile from ~8.8.0 to ~9.0.0 on the Vardoc...

Issue #3258410: Update Varbase profile from ~8.8.0 to ~9.0.0 on the Vardoc 4.0.x branch to work with Drupal ~9
parent b9c34389
Loading
Loading
Loading
Loading
+17 −23
Original line number Diff line number Diff line
Feature: Pre-check important administrator and development pages.
Feature: Pre-check important administrator and development pages
As a site admin user
I want to be able to make sure that all admin and development tools are working
So that I can use them after the install or update.

  @javascript @local @development @staging @production
  Scenario: Check the content page.
  Background:
    Given I am a logged in user with the "webmaster" user

  @javascript @check @local @development @staging @production
  Scenario: Check the content page
     When I go to "/admin/content"
      And I wait
     Then I should see "Content"
@@ -28,40 +30,32 @@ So that I can use them after the install or update.
      And I should see "Views"
      And I should see "Webforms"

  @javascript @local @development @staging @production
  Scenario: Check the structure page.
    Given I am a logged in user with the "webmaster" user
  @javascript @check @local @development @staging @production
  Scenario: Check the structure page
     When I go to "/admin/structure/page_manager"
      And I wait
     Then I should see "Pages"
      And I should see "Homepage"
      And I should see "Total Control dashboard"

  @javascript @local @development @staging @production
  Scenario: Check the Page Manager main page.
    Given I am a logged in user with the "webmaster" user
     When I go to "/admin/structure/page_manager"
      And I wait
     Then I should see "Pages"
      And I should see "Homepage"
      And I should see "Total Control dashboard"

  @javascript @local @development @staging @production
  Scenario: Check the views page.
    Given I am a logged in user with the "webmaster" user
  @javascript @check @local @development @staging @production
  Scenario: Check the views page
     When I go to "/admin/structure/views"
      And I wait
     Then I should see "Views"
      And I should see "Browser"

  @javascript @local @development @staging @production
  Scenario: Check the Appearance page.
    Given I am a logged in user with the "webmaster" user
  @javascript @check @local @development @staging @production
  Scenario: Check the Appearance page
     When I go to "/admin/appearance"
      And I wait
     Then I should see "Appearance"
      And I should see "Vartheme"
      And I should see "Vardoc Theme"
      And I should see "Adminimal"
      And I should see "Bootstrap"
      And I should see "Vartheme Admin"
      And I should see "(Bootstrap 4 - SASS)"
      And I should see "Claro"
      And I should see "Bootstrap Barrio"
      And I should see "Vartheme Claro"

+14 −10
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ I want to be able to add internal links searching the title of an internal conte
So that will ease the work of adding internal links in the rich text editor fields.

  @javascript @local @development @staging @production
  Scenario: Check if inserted raw URL will convert into a link when we save when we are using the "Visual editor" text format.
  Scenario: Check if inserted raw URL will convert into a link when we save when We are using the Visual editor text format
    Given I am a logged in user with the "Site admin" user
     When I go to "/node/add/page"
      And I wait
@@ -18,7 +18,7 @@ So that will ease the work of adding internal links in the rich text editor fiel
      And I should see "Linking to internal content #1 body"

  @javascript @local @development @staging @production
  Scenario: Check if inserted raw URL will convert into a link when we save when we are using the "Visual editor" text format.
  Scenario: Check if inserted raw URL will convert into a link when we save when we are using the Visual editor text format
    Given I am a logged in user with the "Site admin" user
     When I go to "/node/add/page"
      And I wait
@@ -26,21 +26,25 @@ So that will ease the work of adding internal links in the rich text editor fiel
     When I select "full_html" from "Text format"
      And I fill in "Linking to internal content #2 title" for "Title"
      And I fill in the rich text editor field "Body" with " Linking to internal content #2 body "
      And I click on "linkit" command button in the rich text editor field "Body"
      And I click on "drupallink" command button in the rich text editor field "Body"
      And I wait for AJAX to finish
     Then I should see "Edit link"
     When I fill in "Linking" for "Link"
      And I press the " " key in the "Link" field
      And I press the "t" key in the "Link" field
      And I press the "o" key in the "Link" field
      And I press the "enter" key in the "Link" field
      And I wait 2s
      And I wait for AJAX to finish
     Then I should see "Add link"
     When I fill in "Linking" for "URL"
      And I press the " " key in the "URL" field
      And I press the "t" key in the "URL" field
      And I press the "o" key in the "URL" field
      And I press the "enter" key in the "URL" field
      And I wait for AJAX to finish
      And I wait 2s
      And I wait for AJAX to finish
     Then I should see "Linking to internal content #1 title"
     When I click "Linking to internal content #1 title" in the "ul" element with the "class" attribute set to "ui-autocomplete"
      And I wait for AJAX to finish
     Then I should not see "Linking to internal content #1 title"
      And I wait 2s
      And I wait for AJAX to finish
     Then I should see "Linking to internal content #1 title"
     When I click "Save" in the "button" element with the "class" attribute set to "button js-form-submit form-submit ui-button ui-corner-all ui-widget"
      And I wait
      And I select "published" from "edit-moderation-state-0-state"