We're updating the issue view to help you get more done. 

Bethat: improve connector feature

Description

Background

According to the behat test needs to be improved. In this issue Feature Connector is going to be improved.

Requirements

  • Tag feature for connector context

  • Use a background if multiple scenario's use same context, example:

1 2 3 Background: Given I am logged in as admin And there is a connector "Test" with ...
  • Scenario: See the connectors

    • Use Viewing as behaviour

    • Remove interaction from Given (start with When if context is completely defined in background)

    • Remove the URL's for descriptions

    • Check if the connectors from the background/context are on the page instead of the labels

  • Scenario: Add a new connector

    • Use Creating as behaviour

    • Remove interaction from Given (start with When if context is completely defined in background)

    • Use following "flow" (so only one Given, When Then, in that order), example:

      1 2 3 4 When I create a new website connector And I fill in ... ... And I add it Then I should be notified that the connector is saved
  • Scenario: Delete a connector

    • Use Deleting as behaviour

    • Remove interaction from Given (start with When if context is completely defined in background)

    • Use following "flow" (so only one Given, When Then, in that order), example:

      1 2 3 When I delete a connector And I click the button that I am sure Then I should be notified that the connector is deleted
  • The following scenario's are missing and should be added:

    • Editing website connector

    • Creating / editing with invalid data

  • Use folder structure for features, so add the connector features in own folder

Deployment actions

None

Technical tasks

None

Status

Assignee

Unassigned

Reporter

Jeroen van Leeuwen

Product owner

Marijn Otte

OTM project ID

None

Client

Integrated Marijn

Plan date

None

Developer

Michael Jongman

Code reviewer

Jeroen van Leeuwen

Max. hours

None

Error message

None

Follow up date

None

Switches

None

Refiner

None

Story Points

5

Time tracking

21h 45m

Epic Link

Sprint

None

Fix versions

Priority

Major