Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: E2E tests for Triggers in Cloud #938

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

rangoo94
Copy link
Member

@rangoo94 rangoo94 commented Nov 9, 2023

Changes

  • fix: E2E tests for Triggers in Cloud

Fixes

2) [chromium] › triggers.spec.ts:15:5 › Create Trigger ───────────────────────────────────────────

    Error: expect(received).toEqual(expected) // deep equality

    - Expected  - 0
    + Received  + 1

    @@ -10,7 +10,8 @@
          "name": "non-existant-resource",
          "namespace": "namespace-name",
        },
        "testSelector": Object {
          "name": "postman-executor-smoke",
    +     "namespace": "testkube",
        },
      }

       at ../helpers/common.ts:61

      [59](https://github.com/kubeshop/testkube-cloud-ui/actions/runs/6809143770/job/18519121294#step:2:60) |
      [60](https://github.com/kubeshop/testkube-cloud-ui/actions/runs/6809143770/job/18519121294#step:2:61) | export function validateTrigger(triggerData: Partial<TriggerData>, createdTriggerData: TriggerData): void {
    > [61](https://github.com/kubeshop/testkube-cloud-ui/actions/runs/6809143770/job/18519121294#step:2:62) |   expect(triggerData).toEqual(createdTriggerData);
         |                       ^
      [62](https://github.com/kubeshop/testkube-cloud-ui/actions/runs/6809143770/job/18519121294#step:2:63) | }
      [63](https://github.com/kubeshop/testkube-cloud-ui/actions/runs/6809143770/job/18519121294#step:2:64) |

        at validateTrigger (/data/repo/packages/e2e-tests/helpers/common.ts:61:23)
        at /data/repo/packages/e2e-tests/tests/triggers.spec.ts:36:24

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Copy link

vercel bot commented Nov 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
testkube-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 9, 2023 10:57am

@rangoo94 rangoo94 merged commit 4df669e into develop Nov 9, 2023
8 of 9 checks passed
@rangoo94 rangoo94 deleted the dawid/fix/e2e-tests-for-cloud branch November 9, 2023 17:50
@github-actions github-actions bot mentioned this pull request Nov 20, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants