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 FE tests to match new animals dataset #401

Conversation

studioswong
Copy link
Contributor

@studioswong studioswong commented Mar 23, 2021

Description

Related ticket: KED-2498

This PR is created to fix the failing FE tests due to the updated animals data test set from the newly merged BE changes to match the new modular pipeline format. ( see this PR: #394)

Please note this is merged against the main development branch for the modular pipeline MVP work.

Development notes

The new animals testset causes the FE tests to fail due to the addition of 1 new task nodes, 4 new data nodes, and 1 renamed data node.

I have updated 3 tests that tests the sorted or filtered tags results for the sidebar to reflect those new changes.

QA notes

Please run the set of FE tests to ensure there are no failing tests.

Checklist

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added new entries to the RELEASE.md file
  • Added tests to cover my changes

Legal notice

  • I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

  • I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

  • I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

  • I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

@studioswong studioswong requested review from bru5 and limdauto March 23, 2021 09:58
@studioswong studioswong changed the title updated FE tests to match new animals dataset Update FE tests to match new animals dataset Mar 23, 2021
@studioswong studioswong merged commit c8608a9 into feature/modular-pipelines-complete Mar 23, 2021
@studioswong studioswong deleted the fix/fix-failing-FE-test-for-moular-pipeline-data branch March 23, 2021 14:04
studioswong added a commit that referenced this pull request Apr 16, 2021
…oncept (#421)

* [KED-1951] Backend to send modular pipelines to kedro viz (#394)

* WIP add modular pipelines

* Expose modular pipelines and add testing data

* Lint

* undo push of package-lock

* Revert package lock

* Fix lint

* Return modular_pipelines in pipeline data endpoint for selected pipeline + update test data

* Address comments on PR

* Cleanup and lint

* Add modular pipelines to datasets and parameter nodes. Some refactoring for clarity

* Temporarily skip js tests to make sure all python stuff works

* Put back JS tests for CI

* First iteration of addressing comments on PR

* Correctly deduce modular pipeline from dataset

* Add all modular pipelines for all nodes

* Check that dataset namespace is actually a modular pipeline

* Undo check if namespace is modular pipeline

* updated FE tests to match new animals dataset (#401)

* Add modular pipelines to parameter nodes (#402)

* WIP add modular pipelines

* Expose modular pipelines and add testing data

* Lint

* undo push of package-lock

* Revert package lock

* Revert package lock

* Fix lint

* Return modular_pipelines in pipeline data endpoint for selected pipeline + update test data

* Address comments on PR

* Cleanup and lint

* Add modular pipelines to datasets and parameter nodes. Some refactoring for clarity

* Temporarily skip js tests to make sure all python stuff works

* Put back JS tests for CI

* First iteration of addressing comments on PR

* Correctly deduce modular pipeline from dataset

* Add all modular pipelines for all nodes

* Check that dataset namespace is actually a modular pipeline

* Undo check if namespace is modular pipeline

* Add modular pipelines for parameter nodes

* Verify if modular pipelines listed are actual modular piplines

* Temporarily disable JS tests to make sure other steps pass

* Put back JS tests, all other checks pass ✅

* Update package/kedro_viz/server.py

Co-authored-by: Ivan Danov <[email protected]>

* Address review comments

* Treat dataset node modular pipelines the same as task node modular pipelines.

Co-authored-by: Ivan Danov <[email protected]>

* Send correct format for modular pipelines from /pipelines endpoint (#408)

* Modular pipeline tags concept (#410)

* set up store functions for incoming modular pipeline data

* added additional test for modular pipeline

* set up flag for modular pipeline

* set up selector to get list of modular pipelines and nodes

* add ncheck for node modular pipeline data in selector

* set up modular pipeline on sidebar

* refactor node-list to enable change of both modular pipeline and tags

* further setup reducer and node selection

* added item label check

* hide modular pipeline features behind a flag

* fix failing tests and set up new data set

* added tests for modular pipeline actions

* further revisions

* enable indented styling for lazy list

* update readme to explain modular pipeline and tag filtering behaviour

* Fix pylint

* updates as per PR comments

* further adjustments per PR comments

* update tests to reflect latest PR changes

* refactor getItemLabel in node-list-row-list

* fix spelling in random-data

* further refactoring of getItemLabel

Co-authored-by: Merel Theisen <[email protected]>

* quick fix to ensure selector works for pipelines with no defined modular pipelines

* delete unneeded selector

* delete unneeded selector

* Bugfix: Ensure JSON backwards-compatibility

The application should still work without throwing an error, even when "modular_pipelines" is not present in the JSON dataset

Co-authored-by: Merel Theisen <[email protected]>
Co-authored-by: Ivan Danov <[email protected]>
Co-authored-by: Merel Theisen <[email protected]>
Co-authored-by: Richard Westenra <[email protected]>
@studioswong studioswong mentioned this pull request Apr 16, 2021
1 task
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.

3 participants