Skip to content

Test/integration acceptance tests#13895

Merged
scefali merged 12 commits intomasterfrom
test/integration-acceptance-tests
Jul 8, 2019
Merged

Test/integration acceptance tests#13895
scefali merged 12 commits intomasterfrom
test/integration-acceptance-tests

Conversation

@scefali
Copy link
Contributor

@scefali scefali commented Jul 3, 2019

Adds the following acceptance tests:

  • Creating a Sentry App
  • Installing a Sentry App
  • Uninstalling a Sentry App

Also removes some unneeded code from test_organization_integration.py

@scefali scefali requested review from MeredithAnya and mnoble July 3, 2019 20:59

self.browser.element('input[name="name"]').send_keys('Tesla')
self.browser.element('input[name="author"]').send_keys('Elon Musk')
self.browser.element('input[name="webhookUrl"]').send_keys('https://tesla.com/webhook')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should use example.com just incase network requests get made down the road.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@markstory Good suggestion. Made the change.


class OrganizationSentryAppAcceptanceTestCase(AcceptanceTestCase):
"""
As a user(type?), I can setup, configure, and remove a sentry app.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test seems like it's for the installing and uninstalling, and not setup/configure/removing a sentry app

from sentry.testutils import AcceptanceTestCase


class OrganizationIntegrationAcceptanceTest(AcceptanceTestCase):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we rename this OrganizationDeveloperSettingsAcceptanceTest (or something similar), so that it's clearer what this test is for ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@markstory markstory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@scefali scefali merged commit b927934 into master Jul 8, 2019
@scefali scefali deleted the test/integration-acceptance-tests branch July 8, 2019 21:11
jan-auer added a commit that referenced this pull request Jul 9, 2019
* master:
  chore: Fix typo errywhere -> everywhere (#13934)
  ref: (Django 1.9) Bump djangorestframework to 3.0.5 as an intermediate step to get to 3.3.x
  feat(issueless events): Test eventstream work without groups (#13888)
  ref: Improve repr of User (#13896)
  feat(loader): Make the default for new js projects v5 of js sdk (#13327)
  build: Remove browser-reload flag (#13918)
  ref(ui): Consolidate server frontend hydration logic (#13868)
  ref: Refactor user reports to not use Postgres Event (#13904)
  Test/integration acceptance tests (#13895)
  feat: Remove ts-jest (#13846)
  obs(sentry_apps): Add a small metrics increment on processing resource changes. (#13897)
  enable testing for all orgs (#13903)
  ref: Update Python SDK to 0.10.0 (#13911)
  fix: Do not suggest Sentry.Extensions.Logging when ASP.NET Core is used (#13891)
  Update license year to 2019
  ci(travis): Move docker-sentry builds to Dockes Hub autobuild (#13901)
  ref(app-platform): Add integration features to SentryAppDetailsModal (#13393)
  chore(ui) Rename OrganizationStream to IssueList (#13892)
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants