When I go to the settings page "API Tokens"

Go to a page of the settings from their menu, by its name; when two groups have a page of that name ("Roles"), the group names it ("Users & Permissions plugin").

Examples

When I go to the settings page "API Tokens"
When I go to the settings page "Roles" under "Administration panel"
And I go to the settings page "Roles" under "Users & Permissions plugin"
When I go to the settings page "Users" under "Administration panel"
When I go to the settings page "Overview"

Pattern

When(/^I go to the settings page "([^"]*)"(?: under "([^"]*)")?$/, …)

Part of @webship-js/strapi-steps (github.com/webship/strapi-steps), a step pack for Webship-js 2.0.x.