Given
I am a logged in user with the "webmaster" user
2s 745ms
Then
I should see "Log out"
16ms
When
I go to "/media/add/image"
1s 28ms
And
I wait until the page is loaded
17ms
And
I attach the file "horizonaid-test-image.png" to "#edit-field-media-image-0-upload"
1s 829ms
And
I wait for AJAX to finish
10s 6ms
When
I wait for the text "Alternative text" to appear
4ms
When
I fill in "Name" with "Functional testing suite featured image"
335ms
And
I fill in "Alternative text" with "A four by four test image"
333ms
And
I submit by id "edit-submit"
2s 103ms
And
I wait until the page is loaded
13ms
Then
I should see "has been created"
28ms
When
I go to "/node/add/blog"
13s 126ms
And
I wait until the page is loaded
10s 10ms
And
I fill in "Title" with "Functional testing suite media carrier"
1s 881ms
And
I fill in "Description" with "A Resource carrying an uploaded featured image."
1s 826ms
And
I open the "field_featured_image" media library
8s 388ms
And
I wait for the modal to appear
7ms
Then
I should see "Add or select media" in the modal
1s 511ms
When
I select the media "Functional testing suite featured image"
9s 908ms
And
I submit the media library dialog
9s 516ms
And
I wait for the modal to disappear
4ms
And
I select "Published" from "#edit-moderation-state-0-state"
1s 816ms
And
I submit by id "edit-submit"
8s 20ms
And
I wait until the page is loaded
11ms
Then
I should see "has been created"
13ms
Given
I am an anonymous user
2s 780ms
When
I go to "/resources/functional-testing-suite-media-carrier"
2s 73ms
And
I wait until the page is loaded
11ms
Then
the response status code should be 200
37ms
And
I should see image with the "A four by four test image" alt text
4ms
Given
I am a logged in user with the "webmaster" user
2s 585ms
Then
I should see "Log out"
16ms
When
I go to "/admin/content?title=Functional+testing+suite+media+carrier"
10s 498ms
And
I wait until the page is loaded
14ms
And
I open the "Delete" link in the "Functional testing suite media carrier" row
1s 21ms
And
I wait until the page is loaded
14ms
And
I click the "Delete" button
1s 264ms
And
I wait until the page is loaded
11ms
When
I go to "/admin/content/media?name=Functional+testing+suite+featured+image"
10s 335ms
And
I wait until the page is loaded
10s 10ms
And
I open the "Delete" link in the "Functional testing suite featured image" row
1s 32ms
And
I wait until the page is loaded
11ms
And
I click the "Delete" button
1s 257ms
And
I wait until the page is loaded
10ms
When
I go to "/admin/content/media?name=Functional+testing+suite"
1s 63ms
And
I wait until the page is loaded
10ms
Then
I should not see "Functional testing suite featured image"
5ms
When
I go to "/admin/content/trash"
1s 163ms
And
I wait until the page is loaded
11ms
And
I open the "Purge" link in the "Functional testing suite media carrier" row
1s 7ms
And
I wait until the page is loaded
10ms
And
I wait until the page title contains "Are you sure you want to permanently delete"
3ms
When
I submit by id "edit-submit"
1s 109ms
And
I wait until the page is loaded
13ms
Then
I should see "has been permanently deleted"
12ms
And
I should not see "Functional testing suite media carrier" in the "table" element
30s 16ms
When
I go to "/admin/content/trash/media"
1s 139ms
And
I wait until the page is loaded
11ms
And
I open the "Purge" link in the "Functional testing suite featured image" row
945ms
And
I wait until the page is loaded
10ms
And
I wait until the page title contains "Are you sure you want to permanently delete"
4ms
When
I submit by id "edit-submit"
1s 51ms
And
I wait until the page is loaded
11ms
Then
I should see "has been permanently deleted"
11ms
And
I should not see "Functional testing suite featured image" in the "table" element
30s 13ms