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/remove is jarvis host info file check #775

Merged
merged 4 commits into from
Oct 30, 2023

Conversation

circlecube
Copy link
Member

Proposed changes

This removes the /.host-info jarvis check. This was only intended to be a temporary solution. Now we have the isJarvis check on hiive from the capabilities we can use instead. This removed the extra isJarvis values in the runtime object and container.

It also stops referring to the value in the helper and account card components. It was checking the sdk.isJarvis value but this updates to using the runtime.capabilities.isJarvis flag instead.

There are also some other old references to values within the SDK object which are updated here so the plugin is not referencing the SDK object anywhere (though some modules may still be referencing it, we should completely audit that so we can remove the SDK object and the nfd-runtime filter from the plugins and then runtime module.

Type of Change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • Linting and tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

@circlecube circlecube self-assigned this Oct 30, 2023
@replay-io
Copy link

replay-io bot commented Oct 30, 2023

11 replays were recorded for 2e950a3.

image 11 Failed
  • tests/cypress/integration/help.cy.js
    1. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    2. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    3. Phone Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-phone`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:16:5)
    4. Phone Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-phone`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:16:5)
    5. Chat Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-chat`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:22:5)
    6. Chat Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-chat`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:22:5)
    7. Tweet Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-twitter`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:28:5)
    8. Tweet Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-twitter`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:28:5)
    9. Youtube Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-youtube`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:34:5)
    10. Youtube Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-youtube`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:34:5)
    11. Online Support Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-kb`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:40:5)
    12. Online Support Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-kb`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:40:5)
    13. Resources Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-resources`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:46:5)
    14. Resources Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-resources`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:46:5)
    15. Events Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-events`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:52:5)
    16. Events Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-events`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:52:5)
    17. Website Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-website`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:58:5)
    18. Website Card Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-help-website`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/help.cy.js:58:5)
  • tests/cypress/integration/home.cy.js
    1. Site Info Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-site-info`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/home.cy.js:16:4)
    2. Site Info Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-site-info`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/home.cy.js:16:4)
    3. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    4. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    5. Welcome Section Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.nfd-app-section-container`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/home.cy.js:28:4)
    6. Welcome Section Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.nfd-app-section-container`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/home.cy.js:28:4)
    7. Additional Features Section Exists
    8. Account Section Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-account-help-section`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/home.cy.js:42:4)
    9. Account Section Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-account-help-section`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/home.cy.js:42:4)
    10. Help Section Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-account-help-section`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/home.cy.js:49:4)
    11. Help Section Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-account-help-section`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/home.cy.js:49:4)
  • tests/cypress/integration/navigation.cy.js
    1. Admin submenu shouldn't exist inside app
    2. Logo Links to home
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-logo-wrap`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/navigation.cy.js:18:5)
    3. Logo Links to home
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-logo-wrap`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/navigation.cy.js:18:5)
    4. Main nav links properly navigates
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-navitem-Marketplace`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/navigation.cy.js:27:3)
    5. Main nav links properly navigates
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-navitem-Marketplace`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/navigation.cy.js:27:3)
    6. Subnav links properly navigates
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-navitem-Marketplace`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/navigation.cy.js:53:4)
    7. Subnav links properly navigates
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-navitem-Marketplace`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/navigation.cy.js:53:4)
    8. Admin submenu exist outside the app
    9. Utility nav links properly navigates
    10. Mobile nav links dispaly for mobile
    11. Mobile nav links properly navigates
  • tests/cypress/integration/settings.cy.js
    1. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    2. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    3. Has Coming Soon
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-settings-coming-soon`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:18:4)
    4. Has Coming Soon
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-settings-coming-soon`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:18:4)
    5. Has Auto Updates Settings
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-settings-update`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:25:4)
    6. Has Auto Updates Settings
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-settings-update`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:25:4)
    7. Has Content Settings
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-settings-content`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:32:4)
    8. Has Content Settings
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-settings-content`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:32:4)
    9. Has Comments Settings
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-settings-comments`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:39:4)
    10. Has Comments Settings
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-settings-comments`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:39:4)
    11. On load update all is checked, which forces other updates to check and disabled state
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-all-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:45:46)
    12. On load update all is checked, which forces other updates to check and disabled state
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-all-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:45:46)
    13. Disable ALL toggle, leaves everything checked, but enables them
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-all-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:52:5)
    14. Disable ALL toggle, leaves everything checked, but enables them
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-all-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:52:5)
    15. Core toggle works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-core-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:64:47)
    16. Core toggle works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-core-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:64:47)
    17. Plugins toggle works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-plugins-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:75:50)
    18. Plugins toggle works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-plugins-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:75:50)
    19. Themes toggle works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-themes-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:86:49)
    20. Themes toggle works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-themes-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:86:49)
    21. All toggle activates all
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-all-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:97:5)
    22. All toggle activates all
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-all-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:97:5)
    23. Disabling All toggle returns to previous state
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-all-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:106:5)
    24. Disabling All toggle returns to previous state
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-all-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:106:5)
    25. All Toggle takes over again when all are enabled
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-core-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:118:5)
    26. All Toggle takes over again when all are enabled
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="autoupdate-core-toggle"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:118:5)
    27. Content Settings Work
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="content-revisions-select"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:129:5)
    28. Content Settings Work
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="content-revisions-select"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:129:5)
    29. Comment Settings Work
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="comments-per-page-select"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:191:5)
    30. Comment Settings Work
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="comments-per-page-select"]`, but never found it.
          at Context.eval (webpack:///./tests/cypress/integration/settings.cy.js:191:5)
  • vendor/newfold-labs/wp-module-coming-soon/tests/cypress/integration/coming-soon.cy.js
    1. Coming Soon Toggle Functions
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-settings-coming-soon`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-coming-soon/tests/cypress/integration/coming-soon.cy.js:21:5)
    2. Coming Soon Toggle Functions
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-settings-coming-soon`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-coming-soon/tests/cypress/integration/coming-soon.cy.js:21:5)
    3. Displays Coming Soon in Site Status Admin Toolbar
    4. Has Coming Soon Section on Home
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-home .nfd-app-section-content`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-coming-soon/tests/cypress/integration/coming-soon.cy.js:66:5)
    5. Has Coming Soon Section on Home
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-home .nfd-app-section-content`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-coming-soon/tests/cypress/integration/coming-soon.cy.js:66:5)
    6. Displays admin coming soon notice
    7. Displays Coming Soon on Frontend
    8. Launching launches site
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="coming-soon-toggle"]`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-coming-soon/tests/cypress/integration/coming-soon.cy.js:98:43)
    9. Launching launches site
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-id="coming-soon-toggle"]`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-coming-soon/tests/cypress/integration/coming-soon.cy.js:98:43)
  • vendor/newfold-labs/wp-module-ctb/tests/cypress/integration/ctb.cy.js
    1. Button has CTB Attributes
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#marketplace-item-a1ff70f1-9670-4e25-a0e1-a068d3e43a45`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-ctb/tests/cypress/integration/ctb.cy.js:26:5)
    2. Button has CTB Attributes
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#marketplace-item-a1ff70f1-9670-4e25-a0e1-a068d3e43a45`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-ctb/tests/cypress/integration/ctb.cy.js:26:5)
    3. CTB modal is functional
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-action="load-nfd-ctb"]`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-ctb/tests/cypress/integration/ctb.cy.js:43:5)
    4. CTB modal is functional
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-action="load-nfd-ctb"]`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-ctb/tests/cypress/integration/ctb.cy.js:43:5)
    5. CTB purchase functions properly
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-action="load-nfd-ctb"]`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-ctb/tests/cypress/integration/ctb.cy.js:107:5)
    6. CTB purchase functions properly
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-action="load-nfd-ctb"]`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-ctb/tests/cypress/integration/ctb.cy.js:107:5)
  • vendor/newfold-labs/wp-module-global-ctb/tests/cypress/integration/global-ctb.cy.js
    1. Button has CTB Attributes
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#marketplace-item-a1ff70f1-9670-4e25-a0e1-a068d3e43a45`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-global-ctb/tests/cypress/integration/global-ctb.cy.js:23:5)
    2. Button has CTB Attributes
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#marketplace-item-a1ff70f1-9670-4e25-a0e1-a068d3e43a45`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-global-ctb/tests/cypress/integration/global-ctb.cy.js:23:5)
    3. CTB modal is functional
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-action="load-nfd-ctb"]`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-global-ctb/tests/cypress/integration/global-ctb.cy.js:44:5)
    4. CTB modal is functional
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-action="load-nfd-ctb"]`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-global-ctb/tests/cypress/integration/global-ctb.cy.js:44:5)
    5. CTB fallback is functional
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-action="load-nfd-ctb"]`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-global-ctb/tests/cypress/integration/global-ctb.cy.js:86:5)
    6. CTB fallback is functional
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-action="load-nfd-ctb"]`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-global-ctb/tests/cypress/integration/global-ctb.cy.js:86:5)
  • vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js
    1. Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Marketplace' within the selector: 'h2' but never did.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:19:5)
    2. Exists
      AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Marketplace' within the selector: 'h2' but never did.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:19:5)
    3. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    4. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    5. Product grid has 4 items
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.marketplace-item`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:29:30)
    6. Product grid has 4 items
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.marketplace-item`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:29:30)
    7. First product card renders correctly
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#marketplace-item-1fc92f8a-bb9f-47c8-9808-aab9c82d6bf2`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:33:5)
    8. First product card renders correctly
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#marketplace-item-1fc92f8a-bb9f-47c8-9808-aab9c82d6bf2`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:33:5)
    9. Second product card render correctly
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#marketplace-item-2a1dadb5-f58d-4ae4-a26b-27efb09136eb`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:52:5)
    10. Second product card render correctly
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#marketplace-item-2a1dadb5-f58d-4ae4-a26b-27efb09136eb`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:52:5)
    11. CTA links have target=_blank
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#marketplace-item-1fc92f8a-bb9f-47c8-9808-aab9c82d6bf2`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:73:5)
    12. CTA links have target=_blank
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#marketplace-item-1fc92f8a-bb9f-47c8-9808-aab9c82d6bf2`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:73:5)
    13. Category Tab Filters properly
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-subnavitem-Services`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:84:5)
    14. Category Tab Filters properly
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-subnavitem-Services`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:84:5)
    15. Load more button loads more products
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-subnavitem-Services`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:100:5)
    16. Load more button loads more products
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-subnavitem-Services`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:100:5)
    17. Category tabs update path
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-subnavitem-Services`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:114:5)
    18. Category tabs update path
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-subnavitem-Services`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-marketplace/tests/cypress/integration/marketplace.cy.js:114:5)
    19. Product CTB cards render correctly
  • vendor/newfold-labs/wp-module-notifications/tests/cypress/integration/notifications.cy.js
    1. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    2. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    3. Container Exists in plugin app
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-notifications-wrapper`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-notifications/tests/cypress/integration/notifications.cy.js:90:49)
    4. Container Exists in plugin app
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-notifications-wrapper`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-notifications/tests/cypress/integration/notifications.cy.js:90:49)
    5. Test notification displays in plugin app with `all`
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-notifications-wrapper #notification-test-4`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-notifications/tests/cypress/integration/notifications.cy.js:96:13)
    6. Test notification displays in plugin app with `all`
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-notifications-wrapper #notification-test-4`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-notifications/tests/cypress/integration/notifications.cy.js:96:13)
    7. Test notification displays in plugin app for specific page (settings)
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-navitem-Settings`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-notifications/tests/cypress/integration/notifications.cy.js:111:5)
    8. Test notification displays in plugin app for specific page (settings)
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.wppbh-app-navitem-Settings`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-notifications/tests/cypress/integration/notifications.cy.js:111:5)
    9. Test expired notification does not display in plugin app
    10. Dismissing notification removes it from the page
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-notifications-wrapper #notification-test-2`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-notifications/tests/cypress/integration/notifications.cy.js:142:11)
    11. Dismissing notification removes it from the page
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-notifications-wrapper #notification-test-2`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-notifications/tests/cypress/integration/notifications.cy.js:142:11)
    12. Container Exists in wp-admin
  • vendor/newfold-labs/wp-module-performance/tests/cypress/integration/performance.cy.js
    1. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    2. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    3. Has Cache Settings
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-cache-settings`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-performance/tests/cypress/integration/performance.cy.js:18:5)
    4. Has Cache Settings
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-cache-settings`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-performance/tests/cypress/integration/performance.cy.js:18:5)
    5. Has Clear Cache Settings
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-clear-cache`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-performance/tests/cypress/integration/performance.cy.js:24:5)
    6. Has Clear Cache Settings
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-clear-cache`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-performance/tests/cypress/integration/performance.cy.js:24:5)
    7. Clear Cache Disabled when Cache is Disabled
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `input[type="radio"]#cache-level-0`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-performance/tests/cypress/integration/performance.cy.js:31:5)
    8. Clear Cache Disabled when Cache is Disabled
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `input[type="radio"]#cache-level-0`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-performance/tests/cypress/integration/performance.cy.js:31:5)
    9. Clear Cache Button Functions
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.clear-cache-button`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-performance/tests/cypress/integration/performance.cy.js:52:5)
    10. Clear Cache Button Functions
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.clear-cache-button`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-performance/tests/cypress/integration/performance.cy.js:52:5)
  • vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js
    1. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    2. Is Accessible
      Error: No elements found for include in page Context
          at new jd (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at Object.Tb [as _runRules] (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
          at axe.run (http://localhost:8882/__cypress/tests?p=tests/cypress/support/index.js)
    3. Displays in Production Environment Properly
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-staging-prod`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:28:5)
    4. Displays in Production Environment Properly
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-staging-prod`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:28:5)
    5. Errors as expected
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#staging-clone-button`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:65:11)
    6. Errors as expected
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#staging-clone-button`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:65:11)
    7. Clone Works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#staging-clone-button`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:85:11)
    8. Clone Works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#staging-clone-button`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:85:11)
    9. Delete Works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#staging-delete-button`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:106:11)
    10. Delete Works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#staging-delete-button`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:106:11)
    11. Create Works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-staging-staging`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:148:11)
    12. Create Works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `.newfold-staging-staging`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:148:11)
    13. Switch Works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#newfold-production-toggle`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:186:13)
    14. Switch Works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#newfold-production-toggle`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:186:13)
    15. Displays staging environemnt properly
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#newfold-production-toggle`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:240:13)
    16. Displays staging environemnt properly
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#newfold-production-toggle`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:240:13)
    17. Deploy Works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#staging-deploy-button`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:274:11)
    18. Deploy Works
      AssertionError: Timed out retrying after 4000ms: Expected to find element: `#staging-deploy-button`, but never found it.
          at Context.eval (webpack:///./vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging.cy.js:274:11)
image 0 Passed

View test run on Replay ↗︎

@circlecube
Copy link
Member Author

Although, since the capabilities response requires a hiive connection we can't rely on it in test environments or even some local development envs. I've also created a helper method that checks the runtime capabilities object, but will fallback to a default true. Is this the best option we have? I think we should default isJarvis to true, since all sites are now migrated - we're just worried about sites that we are not hosting (or have lost a connection for some reason) not being able to get the capabilities, sites that are not migrated (IN for example, should have the false value in their response).

@wpscholar
Copy link
Member

@circlecube I think it makes sense to default to true for now.

@circlecube circlecube merged commit cd941c4 into release/3.5.1 Oct 30, 2023
2 checks passed
@circlecube circlecube deleted the update/remove-isJarvis-host-info-file-check branch October 30, 2023 20:46
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