@javascript Scenario: Login as Administrator When I login as the "administrator" role And I am on "/" Then I should see "Howdy, admin" When I logout And I am on "/" Then I should not see "Howdy, admin" ϩάΠϯϢʔβʔʹରͯ͠ཧόʔ͕දࣔ͞Ε͍ͯΔ͔ʁ ϩάΞτͨ࣌͠ʹඇදࣔʹͳ͍ͬͯΔ͔ʁ
@javascript Scenario: PC and Mobile Given I login as the "administrator" role And I am on "/wp-admin/" When the screen size is 1440x900 Then I should see "Dashboard" \ in the "#adminmenu" element When the screen size is 320x400 Then I should not see "Dashboard" \ in the "#adminmenu" element ϞόΠϧͰཧը໘ͷϝχϡʔ͕ඇදࣔʹͳ͍ͬͯΔ͔ʁ
@javascript Scenario: PC and Mobile Given I login as the "administrator" role And I am on "/wp-admin/" When I am on "/" Then I should see "Welcome" When I am on "/wp-admin/plugins.php" Then I should see "Contact Form 7" ηογϣϯΛ࣋ͬͯา͘͜ͱͰ͖·͢ɻ
@javascript Scenario: I hover over the specific element Given the screen size is 1440x900 And I login as the "administrator" role And I am on "/" When I hover over the \ "#wp-admin-bar-my-account" element And I wait for 3 seconds Then I should see "Edit My Profile" +BWB4DSJQUͷNPVTFPWFSͷςετ
@javascript Scenario: I hover over the specific element Given the screen size is 1440x900 And I login as the "administrator" role And I am on "/" When I hover over the \ "#wp-admin-bar-my-account" element And I wait for 3 seconds Then I should see "Edit My Profile" And take a screenshot and save it to \ "~/Desktop/screenshot-1.png" εΫϦʔϯγϣοτࡱΕ·͢ɻ
@javascript Scenario: Send message from contact form Given I am on "/contact" When I fill in the following: | your-name | miya | | your-email | [email protected] | | your-subject | Hello | | your-message | ͜Μʹͪʂ | And I press "Send" And I wait for 3 seconds Then I should see "Thank you" ϑΥʔϜͷςετ؆୯