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

chore: add test for tab state #20949

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

eschutho
Copy link
Member

@eschutho eschutho commented Aug 2, 2022

This PR adds a test for #20947 which was a fix for breaking cypress tests on CI.
We wanted to make sure that both params were allowed by the api (name and title) for backward compatibility

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@codecov
Copy link

codecov bot commented Aug 2, 2022

Codecov Report

Merging #20949 (18001ac) into master (ac58582) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #20949   +/-   ##
=======================================
  Coverage   66.38%   66.38%           
=======================================
  Files        1766     1766           
  Lines       67224    67224           
  Branches     7135     7135           
=======================================
+ Hits        44625    44630    +5     
+ Misses      20774    20769    -5     
  Partials     1825     1825           
Flag Coverage Δ
hive 53.20% <ø> (ø)
mysql 81.03% <ø> (+0.01%) ⬆️
postgres 81.10% <ø> (+0.01%) ⬆️
presto 53.10% <ø> (ø)
python 81.58% <ø> (+0.01%) ⬆️
sqlite 79.69% <ø> (+0.01%) ⬆️
unit 50.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
superset/views/sql_lab.py 63.81% <0.00%> (+3.28%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@AAfghahi AAfghahi merged commit 7445eab into apache:master Aug 10, 2022
@@ -1468,6 +1468,38 @@ def test_sqllab_backend_persistence_payload(self):
payload = views.Superset._get_sqllab_tabs(user_id=user_id)

Choose a reason for hiding this comment

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

add payload
#21049

@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 2.1.0 and removed 🚢 2.1.3 labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/M 🚢 2.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants