-
Notifications
You must be signed in to change notification settings - Fork 357
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
test: workspace and project api [TESTENG-46] #9731
Conversation
✅ Deploy Preview for determined-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -111,8 +111,8 @@ test.describe('User Management', () => { | |||
await expect(page).toHaveURL(/login/); | |||
await auth.login({ | |||
expectedURL: userManagementPage.url, | |||
password: newAdmin.password, | |||
username: newAdmin.user?.username, | |||
password: newAdmin.request.password, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wanted to uniformly return "request + response" from all apis.
779694e
to
2ae8610
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9731 +/- ##
==========================================
- Coverage 53.44% 48.93% -4.51%
==========================================
Files 1257 934 -323
Lines 154350 125048 -29302
Branches 3298 3298
==========================================
- Hits 82494 61194 -21300
+ Misses 71706 63704 -8002
Partials 150 150
Flags with carried forward coverage won't be shown. Click here to find out more. |
}, | ||
}); | ||
const newProject = await backgroundApiProject.createProject(workspaceId, request); | ||
await use({ request, response: newProject }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like using request and response on all of them. That's a good idea.
2ae8610
to
1997749
Compare
1997749
to
459c34f
Compare
this is a known failure |
Ticket
TESTENG-46
Description
adds support for workspace and project created by api as a test fixture
Test Plan
Checklist
docs/release-notes/
See Release Note for details.