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

Update default API URL in the webap #860

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jdbocarsly
Copy link
Member

When pydatalab is run in the default development manner (i.e., with flask run), it now serves the API to http://localhost:5000. However, the webapp still defaults to sending the requests to http://localhost:5001. This pull request updates the default to http://localhost:5000.

Note that the API URL can always be configured in the .env files of the webapp and will supercede this default value.

@jdbocarsly jdbocarsly force-pushed the jdb/update-default-server-port branch from a36243b to 87417b7 Compare August 28, 2024 18:51
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.12%. Comparing base (5bd7e24) to head (871c692).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #860   +/-   ##
=======================================
  Coverage   68.12%   68.12%           
=======================================
  Files          62       62           
  Lines        3884     3884           
=======================================
  Hits         2646     2646           
  Misses       1238     1238           

Copy link

cypress bot commented Aug 28, 2024

datalab    Run #2336

Run Properties:  status check failed Failed #2336  •  git commit fb2948906c ℹ️: Merge 871c692edd7df608d01bc086e78a90ab80102092 into 5bd7e24356853cf65364e531a886...
Project datalab
Branch Review jdb/update-default-server-port
Run status status check failed Failed #2336
Run duration 02m 34s
Commit git commit fb2948906c ℹ️: Merge 871c692edd7df608d01bc086e78a90ab80102092 into 5bd7e24356853cf65364e531a886...
Committer Josh Bocarsly
View all properties for this run ↗︎

Test results
Tests that failed  Failures 12
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 117
Tests that passed  Passing 0
View all changes introduced in this branch ↗︎

Tests for review

Failed  batchSampleFeature.cy.js • 1 failed test • End-to-end tests (chrome)

View Output

Test Artifacts
Batch sample creation > Adds 3 valid samples Test Replay Screenshots
Failed  editPage.cy.js • 1 failed test • End-to-end tests (chrome)

View Output

Test Artifacts
Edit Page > Loads the main page without any errors Test Replay Screenshots
Failed  equipment.cy.js • 1 failed test • End-to-end tests (chrome)

View Output

Test Artifacts
Equipment table page > Loads the equipment page without any errors Test Replay Screenshots
Failed  sampleTablePage.cy.js • 1 failed test • End-to-end tests (chrome)

View Output

Test Artifacts
Advanced sample creation features > Adds some valid samples Test Replay Screenshots
Failed  batchSampleFeature.cy.js • 1 failed test • End-to-end tests (electron)

View Output

Test Artifacts
Batch sample creation > Adds 3 valid samples Test Replay Screenshots

The first 5 failed specs are shown, see all 12 specs in Cypress Cloud.

@ml-evs ml-evs self-requested a review as a code owner August 28, 2024 22:35
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