<commit_before>@view_and_edit_services
Feature: Supplier being able to view their DOS services

Background:
  Given I have a live digital outcomes and specialists framework
  And I have a supplier
  And that supplier is logged in
  And that supplier is on that framework

@skip-staging
Scenario Outline: Supplier coming from dashboard to view the detail page for one of their services
  Given that supplier has a service on the <lot_slug> lot
  And I am on the /suppliers page
  When I click 'View'
  Then I am on the 'Current services' page
  When I click '<service_name>'
  Then I am on the '<service_name>' page
  And I don't see the 'Edit' link
  And I don't see 'Remove this service' text on the page
  And I see '<expected_content>' in the '<summary_table_name>' summary table

  Examples:
    | lot_slug                   | service_name               | summary_table_name          | expected_content |
    | digital-specialists        | Digital specialists        | Individual specialist roles | Developer        |
    | digital-outcomes           | Digital outcomes           | Team capabilities           | Agile coaching   |
    | user-research-participants | User research participants | Recruitment approach        | Entirely offline |
    | user-research-studios      | GDSvieux Innovation Lab    | Lab address                 | GDSbury          |
<commit_msg>Turn on supplier viewing DOS services for staging<commit_after>@view_and_edit_services
Feature: Supplier being able to view their DOS services

Background:
  Given I have a live digital outcomes and specialists framework
  And I have a supplier
  And that supplier is logged in
  And that supplier is on that framework

Scenario Outline: Supplier coming from dashboard to view the detail page for one of their services
  Given that supplier has a service on the <lot_slug> lot
  And I am on the /suppliers page
  When I click 'View'
  Then I am on the 'Current services' page
  When I click '<service_name>'
  Then I am on the '<service_name>' page
  And I don't see the 'Edit' link
  And I don't see 'Remove this service' text on the page
  And I see '<expected_content>' in the '<summary_table_name>' summary table

  Examples:
    | lot_slug                   | service_name               | summary_table_name          | expected_content |
    | digital-specialists        | Digital specialists        | Individual specialist roles | Developer        |
    | digital-outcomes           | Digital outcomes           | Team capabilities           | Agile coaching   |
    | user-research-participants | User research participants | Recruitment approach        | Entirely offline |
    | user-research-studios      | GDSvieux Innovation Lab    | Lab address                 | GDSbury          |

{'fraction_non_alphanumeric': 0.04985549132947977, 'fraction_numerical': 0.0, 'mean_word_length': 2.6626984126984126, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1684265', 'n_tokens_mistral': 704, 'n_tokens_neox': 681, 'n_words': 320}