CSCI-GA-2820-FA23-003 / promotions

NYU DevOps Promotions Service Fall 2023-003
Apache License 2.0
1 stars 0 forks source link

Delete BDD on openshift #120

Open sashadsouza02 opened 7 months ago

sashadsouza02 commented 7 months ago

Describe the bug

    When I visit the "Detail Page" for "SAVE10"                 # features/steps/web_detail_steps.py:36
    And I press the "Del" button in detail page                 # features/steps/web_detail_steps.py:181
    Then I should see "Promotions RESTful Service" in the title # features/steps/web_steps.py:44
      Traceback (most recent call last):
        File "/usr/local/lib/python3.11/site-packages/behave/model.py", line 1329, in run
          match.run(runner.context)
        File "/usr/local/lib/python3.11/site-packages/behave/matchers.py", line 98, in run
          self.func(context, *args, **kwargs)
        File "features/steps/web_steps.py", line 48, in step_impl
          assert message in context.driver.title
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AssertionError

      Captured stdout:
      Actual title: Promotions SAVE10

To Reproduce Steps to reproduce the behavior:

  1. Run 'behave'
  2. See error

Expected behavior

    When I visit the "Detail Page" for "SAVE10"                 # features/steps/web_detail_steps.py:36 0.225s
    And I press the "Del" button in detail page                 # features/steps/web_detail_steps.py:181 0.095s
    Then I should see "Promotions RESTful Service" in the title # features/steps/web_steps.py:52 0.161s

Observed behavior A clear and concise description of what you actually saw.

Screenshots

Screenshot 2023-12-13 at 12.56.27 PM.png

Additional context Add any other context about the problem here.