All Scenarios

58

Passed Scenarios

58

Failed Scenarios

0
As the site owner
I want one user per role created through the admin UI
So that the audit, filtering and access-control scenarios have what they expect

Given I am a logged in user with the "Webmaster" user 4s 128ms

And I add testing users 3s 775ms

When I am on "/admin/reports/audit-trail" 1s 182ms

Then the "audit report" element should be visible 3ms

And the "drupal page heading" element should contain text "Admin Audit Trail" 2ms

As a site administrator
I want the Views-based audit report to render
So that the Admin Audit Trail module can be exercised

Given I am a logged in user with the "Webmaster" user 2s 3ms

When I am on "/admin/reports/audit-trail" 1s 177ms

Then the "audit report" element should be visible 3ms

And the "audit exposed form" element should be visible 3ms

And there should be no JavaScript errors < 1ms

Given I am a logged in user with the "Webmaster" user 1s 698ms

When I am on "/admin/reports" 855ms

Then the "menu audit report link" element should be visible 2ms

Given I am a logged in user with the "Webmaster" user 1s 733ms

When I am on "/admin/config/development/audit-trail/settings" 647ms

Then the "settings form" element should be visible 2ms

And there should be no JavaScript errors < 1ms

As a site administrator
I want a report with the audited columns and exposed filters
So that I can inspect who changed what, when and from where

Given I am a logged in user with the "Webmaster" user 1s 726ms

And I am on "/admin/reports/audit-trail" 714ms

Then the "audit filter type select" element should be visible 8ms

And the "audit filter name" element should be visible 2ms

And the "audit filter ip" element should be visible 2ms

And the "audit filter ref id" element should be visible 2ms

And the "audit filter ref name" element should be visible 2ms

And the "audit filter path" element should be visible 2ms

And the "audit filter description" element should be visible 2ms

And the "audit filter apply" element should be visible 2ms

Given I am a logged in user with the "Webmaster" user 1s 701ms

And I am on "/admin/reports/audit-trail" 714ms

Then the "audit legacy link" element should be visible 2ms

Given I am a logged in user with the "Webmaster" user 1s 717ms

And I am on "/admin/reports/audit-trail" 722ms

Then there should be no JavaScript errors < 1ms

@admin_audit_trail @report @operation_filter
Feature:Admin Audit Trail - operation exposed filter 1

As a site administrator
I want to filter the report by operation
So that I can narrow events down to a specific action

Given I am a logged in user with the "Webmaster" user 1s 720ms

When I create an article titled "Operation Filter Article" 3s 840ms

And I am on "/admin/reports/audit-trail" 739ms

Then the "audit filter operation select" element should be visible 8ms

And the "audit filter operation select" element should contain text "Insert" 7ms

As a site administrator
I want create / update / delete actions on content recorded
So that I have an accountable history of node changes

Given I am a logged in user with the "Webmaster" user 1s 753ms

When I create an article titled "Audit Trail Insert Article" 1s 762ms

And I filter the audit report by the "Node" type 1s 627ms

Then the "audit row node insert" element should have at least a count of 1 3ms

And the "audit col description" element should contain text "Audit Trail Insert Article" 2ms

Given I am a logged in user with the "Webmaster" user 1s 696ms

Given I create an article titled "Audit Trail Update Article" 1s 352ms

When I update the article I created with the title "Audit Trail Update Article (edited)" 4s 391ms

And I filter the audit report by the "Node" type 1s 660ms

Then the "audit row node update" element should have at least a count of 1 4ms

And the "audit col description" element should contain text "Audit Trail Update Article (edited)" 2ms

Given I am a logged in user with the "Webmaster" user 1s 727ms

Given I create an article titled "Audit Trail Delete Article" 1s 491ms

When I delete the article I created 1s 608ms

And I filter the audit report by the "Node" type 1s 681ms

Then the "audit row node delete" element should have at least a count of 1 3ms

As a site administrator
I want to narrow the report by event type
So that I can focus on a single kind of change

Given I am a logged in user with the "Webmaster" user 1s 725ms

And I create an article titled "Audit Trail Filter Article" 1s 327ms

When I filter the audit report by the "Node" type 1s 762ms

Then the "audit row node" element should have at least a count of 1 4ms

And the "audit row user" element should have a count of 0 2ms

Given I am a logged in user with the "Webmaster" user 1s 712ms

And I create an article titled "Audit Trail Filter Article" 1s 295ms

When I filter the audit report by the "User" type 1s 745ms

Then the "audit row node" element should have a count of 0 2ms

As an administrator using assistive technology
I want the audit report to be a well-structured, labelled page
So that I can review the log with a screen reader

Given I am a logged in user with the "Webmaster" user 1s 720ms

And I am on "/admin/reports/audit-trail" 793ms

Then the page should have a main landmark 6ms

And the page should have exactly one h1 3ms

And the page should declare a language 2ms

Given I am a logged in user with the "Webmaster" user 1s 723ms

And I am on "/admin/reports/audit-trail" 783ms

Then every form field should have an accessible label 4ms

Given I am a logged in user with the "Webmaster" user 1s 719ms

And I am on "/admin/reports/audit-trail" 784ms

Then the page should have no critical accessibility violations 2s 625ms

And the page should have no serious accessibility violations 2s 252ms

As a site administrator
I want every event to record the request path within the column limit
So that I can see where a change was made without hitting a database error

Given I am a logged in user with the "Webmaster" user 1s 717ms

When I create an article titled "Audit Trail Path Article" 1s 572ms

And I filter the audit report by the "Node" type 1s 706ms

Then the "audit col path" element should contain text "node/add/article" 1ms

Given I am a logged in user with the "Webmaster" user 1s 721ms

When I create an article titled "LONGPATH trim test" 1s 530ms

And I filter the audit report by the "Node" type 1s 698ms

Then the "audit col path" element should contain text "longpath" 2ms

And the "audit col path" element text should be at most 255 characters long 3ms

As a site administrator
I want long path and description values to wrap in the report
So that the table stays readable and does not stretch awkwardly wide

Given I am a logged in user with the "Webmaster" user 1s 719ms

When I create an article titled "Word Wrap Article" 1s 183ms

And I filter the audit report by the "Node" type 1s 749ms

Then the "audit col path" element should be visible 3ms

And the "audit col path" element should have the computed style "overflow-wrap" of "anywhere" 1ms

And the "audit col description" element should have the computed style "overflow-wrap" of "anywhere" 1ms

As a site administrator
I want to control filter expansion and the log row limit
So that I can tune how the audit trail behaves

Given I am a logged in user with the "Webmaster" user 1s 717ms

And I am on "/admin/config/development/audit-trail/settings" 823ms

Then the "settings form" element should be visible 2ms

And the "settings filter expanded" element should be visible 2ms

And the "settings row limit" element should be visible 2ms

And the "settings log cli" element should be visible 1ms

And I should see "Log CLI events" 5ms

And I should see the button "Save configuration" 10ms

Given I am a logged in user with the "Webmaster" user 1s 726ms

And I am on "/admin/config/development/audit-trail/settings" 610ms

When I check "Log CLI events" 326ms

And I press "Save configuration" 657ms

Then I should see "The configuration options have been saved." 4ms

When I am on "/admin/config/development/audit-trail/settings" 572ms

Then the "settings log cli" element should be visible 2ms

When I uncheck "Log CLI events" 324ms

And I press "Save configuration" 646ms

Then I should see "The configuration options have been saved." 4ms

Given I am a logged in user with the "Webmaster" user 1s 709ms

And I am on "/admin/config/development/audit-trail/settings" 570ms

When I check "Filters Expanded" 327ms

And I press "Save configuration" 646ms

Then the "drupal status messages" element should be visible 2ms

And there should be no JavaScript errors < 1ms

As a site administrator
I want the classic report to remain reachable
So that existing bookmarks and workflows keep working

Given I am a logged in user with the "Webmaster" user 1s 719ms

And I create an article titled "Audit Trail Legacy Article" 1s 542ms

When I am on "/admin/reports/audit-trail/legacy" 1s 146ms

Then the "drupal page heading" element should contain text "Legacy" 1ms

And the "audit legacy table rows" element should have at least a count of 1 1ms

And there should be no JavaScript errors < 1ms

As a site owner
I want only users with the audit permissions to reach the report and settings
So that the change history cannot be read or reconfigured by regular users

Given I am a logged in user with the "Webmaster" user 1s 728ms

When I am on "/admin/reports/audit-trail" 859ms

Then the "audit report" element should be visible 2ms

Given I am a logged in user with the "Content editor" user 1s 798ms

When I am on "/admin/reports/audit-trail" 613ms

Then the "audit report" element should have a count of 0 1ms

And the "drupal page heading" element should contain text "Access denied" 1ms

Given I am a logged in user with the "Authenticated user" user 1s 872ms

When I am on "/admin/config/development/audit-trail/settings" 717ms

Then the "settings form" element should have a count of 0 1ms

And the "drupal page heading" element should contain text "Access denied" 2ms

As a site administrator
I want account creations recorded
So that I can audit who provisioned which user

Given I am a logged in user with the "Webmaster" user 1s 699ms

When I create a user named "audit_user_one" 1s 199ms

And I am on "/admin/reports/audit-trail" 867ms

Then the "audit row user insert" element should be visible within 15 seconds 8ms

@admin_audit_trail @events @user_roles
Feature:Admin Audit Trail - user role events 1

As a site administrator
I want role creation recorded
So that I can audit permission-structure changes

Given I am a logged in user with the "Webmaster" user 1s 720ms

When I create a user role named "Audit Reviewer" 2s 881ms

And I am on "/admin/reports/audit-trail" 902ms

Then the "audit row user_roles created" element should be visible within 15 seconds 13ms

@admin_audit_trail @events @taxonomy
Feature:Admin Audit Trail - taxonomy events 2

As a site administrator
I want vocabulary and term changes recorded
So that I can audit the classification structure

Given I am a logged in user with the "Webmaster" user 1s 729ms

When I create a taxonomy vocabulary named "Audit Topics" 3s 169ms

And I am on "/admin/reports/audit-trail" 981ms

Then the "audit row taxonomy vocabulary insert" element should be visible within 15 seconds 10ms

Given I am a logged in user with the "Webmaster" user 2s 16ms

When I create a taxonomy term named "Audit Term One" 5s 646ms

And I am on "/admin/reports/audit-trail" 892ms

Then the "audit row taxonomy term insert" element should be visible within 15 seconds 8ms

@admin_audit_trail @events @menu
Feature:Admin Audit Trail - menu events 2

As a site administrator
I want menu and menu-link changes recorded
So that I can audit navigation changes

Given I am a logged in user with the "Webmaster" user 1s 709ms

When I create a menu named "Audit Menu" 2s 562ms

And I am on "/admin/reports/audit-trail" 864ms

Then the "audit row menu insert" element should be visible within 15 seconds 11ms

Given I am a logged in user with the "Webmaster" user 1s 728ms

When I create a menu named "Audit Link Menu" 2s 436ms

And I add a menu link titled "Audit Link" to the menu I created 2s 110ms

And I am on "/admin/reports/audit-trail" 872ms

Then the "audit row menu link insert" element should be visible within 15 seconds 11ms

As a site administrator
I want menu link translation changes recorded without breaking the site
So that I can audit multilingual navigation changes safely

Given I am a logged in user with the "Webmaster" user 1s 732ms

When I create a menu named "Audit Trans Menu" 1s 508ms

And I add a menu link titled "Audit Trans Link" to the menu I created 1s 299ms

And I add the "es" translation titled "Audit Trans Link ES" to the menu link I created 2s 40ms

And I delete the "es" translation of the menu link I created 1s 971ms

And I am on "/admin/reports/audit-trail" 859ms

Then the audit report should list the operation "link translation delete" within 20 seconds 2ms

And the "audit col description" element should contain text "removed es translation" 1ms

Given I am a logged in user with the "Webmaster" user 1s 741ms

When I create a menu named "Audit Trans Add Menu" 1s 226ms

And I add a menu link titled "Audit Trans Add Link" to the menu I created 1s 265ms

And I add the "es" translation titled "Audit Trans Add Link ES" to the menu link I created 1s 334ms

And I am on "/admin/reports/audit-trail" 869ms

Then the "audit row menu link insert" element should be visible within 15 seconds 12ms

@admin_audit_trail @events @block_content
Feature:Admin Audit Trail - custom block events 1

As a site administrator
I want custom block creation recorded
So that I can audit reusable content blocks

Given I am a logged in user with the "Webmaster" user 1s 746ms

When I create a custom block named "Audit Promo Block" 4s 95ms

And I am on "/admin/reports/audit-trail" 865ms

Then the "audit row block_content insert" element should be visible within 15 seconds 10ms

@admin_audit_trail @events @comment
Feature:Admin Audit Trail - comment events 1

As a site administrator
I want comment postings recorded
So that I can audit user-contributed discussion

Given I am a logged in user with the "Webmaster" user 1s 719ms

And I create an article titled "Audit Comment Host" 1s 294ms

When I post the comment "An audited comment body" on the article I created 1s 968ms

And I am on "/admin/reports/audit-trail" 887ms

Then the "audit row comment insert" element should be visible within 15 seconds 8ms

@admin_audit_trail @events @file
Feature:Admin Audit Trail - file events 1

As a site administrator
I want uploaded files recorded
So that I can audit assets entering the site

Given I am a logged in user with the "Webmaster" user 1s 768ms

When I create an image media item named "Audit File Image" 3s 157ms

And I am on "/admin/reports/audit-trail" 888ms

Then the "audit row file insert" element should be visible within 15 seconds 9ms

@admin_audit_trail @events @media
Feature:Admin Audit Trail - media events 1

As a site administrator
I want media items recorded
So that I can audit the media library

Given I am a logged in user with the "Webmaster" user 1s 724ms

When I create an image media item named "Audit Media Image" 3s 301ms

And I am on "/admin/reports/audit-trail" 834ms

Then the "audit row media insert" element should be visible within 15 seconds 8ms

As a site administrator
I want editorial state changes recorded
So that I can audit the moderation history

Given I am a logged in user with the "Webmaster" user 1s 737ms

When I create an article titled "Audit Workflow Article" 1s 267ms

And I am on "/admin/reports/audit-trail" 1s 45ms

Then the "audit row workflows" element should be visible within 15 seconds 8ms

As a site administrator
I want sign-in, sign-out and failed logins recorded
So that I can audit account access

Given I am a logged in user with the "Webmaster" user 1s 728ms

When I log out 1s 462ms

And I am a logged in user with the "Webmaster" user 1s 615ms

And I am on "/admin/reports/audit-trail" 858ms

Then the "audit row auth logout" element should be visible within 15 seconds 9ms

Given I attempt to log in with an incorrect password 1s 779ms

And I am a logged in user with the "Webmaster" user 1s 682ms

And I am on "/admin/reports/audit-trail" 862ms

Then the "audit row auth fail" element should be visible within 15 seconds 13ms

Given I request a new password for "webmaster" 1s 153ms

And I am a logged in user with the "Webmaster" user 1s 706ms

And I am on "/admin/reports/audit-trail" 854ms

Then the "audit row auth request password" element should be visible within 15 seconds 11ms

@admin_audit_trail @events @config
Feature:Admin Audit Trail - configuration events 5

As a site administrator
I want configuration create / update / delete recorded
So that I can audit changes to site configuration

Given I am a logged in user with the "Webmaster" user 1s 712ms

When I create a taxonomy vocabulary named "Audit Config Vocab" 1s 593ms

And I am on "/admin/reports/audit-trail" 871ms

Then the "audit row config insert" element should be visible within 15 seconds 10ms

Given I am a logged in user with the "Webmaster" user 1s 977ms

When I go to "/admin/config/system/site-information" 902ms

And I fill in "Site name" with "Audit Trail Config Test Site" 316ms

And I press "Save configuration" 782ms

And I am on "/admin/reports/audit-trail" 907ms

Then the "audit row config update" element should be visible within 15 seconds 9ms

Given I am a logged in user with the "Webmaster" user 1s 940ms

When I go to "/admin/config/system/site-information" 899ms

And I fill in "Site name" with "Audit Trail Config Name Check" 315ms

And I press "Save configuration" 755ms

And I am on "/admin/reports/audit-trail" 875ms

Then the "audit row config system site" element should be visible within 15 seconds 9ms

And the "audit col description" element should contain text "Config: system.site" 2ms

Given I am a logged in user with the "Webmaster" user 1s 934ms

Given I create a taxonomy vocabulary named "Audit Config Delete Vocab" 1s 653ms

When I delete the taxonomy vocabulary I created 1s 533ms

And I am on "/admin/reports/audit-trail" 880ms

Then the "audit row config delete" element should be visible within 15 seconds 12ms

Given I am a logged in user with the "Webmaster" user 1s 964ms

When I go to "/admin/config/system/site-information" 647ms

And I fill in "Site name" with "Audit Trail Config Filter" 318ms

And I press "Save configuration" 792ms

And I filter the audit report by the "Configuration" type 1s 830ms

Then the "audit report rows" element should have at least a count of 1 2ms

And the "audit col type" element should contain text "config" 1ms

@admin_audit_trail @events @redirect
Feature:Admin Audit Trail - URL redirect events 1

As a site administrator
I want redirect creation recorded
So that I can audit URL routing changes

Given I am a logged in user with the "Webmaster" user 1s 897ms

When I create a redirect from "/audit-old-path" to "/node" 1s 520ms

And I am on "/admin/reports/audit-trail" 854ms

Then the "audit row redirect insert" element should be visible within 15 seconds 8ms

As a site administrator
I want redirects with non-ASCII source paths recorded without a database error
So that international URLs are audited and stay readable

Given I am a logged in user with the "Webmaster" user 1s 748ms

When I create a redirect from "시시시시시시시시시시시시시시시시시시시시시시시시시시시시시시시시시시시시시시시시" to "/node" 1s 234ms

Then I should see "The redirect has been saved." 6ms

And there should be no JavaScript errors < 1ms

When I filter the audit report by the "Redirect" type 1s 736ms

Then the "audit row redirect insert" element should be visible within 15 seconds 3ms

And the "audit col ref name" element text should be at most 255 characters long 2ms

And the "audit col ref name" element should contain text "시" 1ms

@admin_audit_trail @events @entityqueue
Feature:Admin Audit Trail - entity queue events 1

As a site administrator
I want entity queue creation recorded
So that I can audit curated content queues

Given I am a logged in user with the "Webmaster" user 1s 771ms

When I create an entity queue named "Audit Queue" 3s 30ms

And I am on "/admin/reports/audit-trail" 932ms

Then the "audit row entity_queue insert" element should be visible within 15 seconds 10ms

@admin_audit_trail @events @group
Feature:Admin Audit Trail - group events 1

As a site administrator
I want group creation recorded
So that I can audit access-controlled group spaces

Given I am a logged in user with the "Webmaster" user 2s 45ms

When I create a group named "Audit Team" 1s 722ms

And I am on "/admin/reports/audit-trail" 871ms

Then the "audit row group insert" element should be visible within 15 seconds 9ms

@admin_audit_trail @events @paragraphs
Feature:Admin Audit Trail - paragraph events 1

As a site administrator
I want paragraph entities recorded
So that I can audit structured in-node content

Given I am a logged in user with the "Webmaster" user 1s 879ms

When I create an article with a paragraph titled "Audit Paragraph Article" 1s 952ms

And I am on "/admin/reports/audit-trail" 897ms

Then the "audit row paragraph insert" element should be visible within 15 seconds 8ms

As a site administrator
I want audit events forwarded to the Drupal logger
So that syslog / Monolog / dblog backends receive them

Given I am a logged in user with the "Webmaster" user 1s 733ms

Given I create an article titled "Audit Trail Logger Article" 1s 563ms

When I am on "/admin/reports/dblog?type%5B%5D=audit_trail" 1s 154ms

Then the "dblog rows" element should have at least a count of 1 2ms

And the "dblog message cells" element should contain text "Audit Trail Logger Article" 1ms

Given I am a logged in user with the "Webmaster" user 1s 741ms

Given I am on "/admin/config/development/audit-trail/logger" 641ms

And I select radio button "Hybrid (database + PSR-3)" 314ms

And I press "Save configuration" 660ms

When I create an article titled "Audit Trail Logger Hybrid Article" 1s 609ms

And I filter the audit report by the "Node" type 1s 777ms

Then the "audit col description" element should contain text "Audit Trail Logger Hybrid Article" 1ms

As a site administrator
I want to control the forwarding mode and channel
So that audit events reach the right logging backend

Given I am a logged in user with the "Webmaster" user 1s 735ms

And I am on "/admin/config/development/audit-trail/logger" 623ms

Then the "logger settings form" element should be visible 2ms

And I should see "Hybrid (database + PSR-3)" 4ms

And I should see "PSR-3 only (skip database)" 3ms

And I should see a "Logger channel" field 3ms

And "#edit-channel" should have value "audit_trail" 2ms

And I should see the button "Save configuration" 9ms

Given I am a logged in user with the "Webmaster" user 1s 718ms

And I am on "/admin/config/development/audit-trail/logger" 621ms

When I fill in "audit_trail_e2e" for "Logger channel" 316ms

And I press "Save configuration" 651ms

Then I should see "The configuration options have been saved." 4ms

When I am on "/admin/config/development/audit-trail/logger" 586ms

Then "#edit-channel" should have value "audit_trail_e2e" 2ms

When I fill in "audit_trail" for "Logger channel" 317ms

And I press "Save configuration" 655ms

Then "#edit-channel" should have value "audit_trail" 2ms

And there should be no JavaScript errors < 1ms

Given I am a logged in user with the "Webmaster" user 1s 753ms

And I am on "/admin/config/development/audit-trail/logger" 586ms

When I fill in "Invalid-Channel!" for "Logger channel" 314ms

And I press "Save configuration" 625ms

Then I should see "The channel name must start with a lowercase letter and contain only lowercase letters, digits, underscores and dots." 4ms

And I should not see "The configuration options have been saved." 2ms

Given I am a logged in user with the "Webmaster" user 1s 716ms

And I am on "/admin/config/development/audit-trail/logger" 619ms

Given I select radio button "PSR-3 only (skip database)" 321ms

And I press "Save configuration" 642ms

When I create an article titled "AAT PSR3 Article" 1s 559ms

And I am on "/admin/reports/dblog?type%5B%5D=audit_trail" 1s 34ms

Then the "dblog message cells" element should contain text "AAT PSR3 Article" 1ms

When I filter the audit report by the "Node" type 1s 805ms

Then the "audit col description" element should not contain text "AAT PSR3 Article" 1ms

When I am on "/admin/config/development/audit-trail/logger" 570ms

And I select radio button "Hybrid (database + PSR-3)" 327ms

And I press "Save configuration" 646ms

Then I should see "The configuration options have been saved." 4ms