Skip to content

retail: some tests failing, blocking PRs #4136

@glasnt

Description

@glasnt

In which file did you encounter the issue?

  • retail/interactive-tutorials/test/search-with-pagination.test.js
  • retail/interactive-tutorials/test/search-with-query-expansion-spec.test.js

Did you change the file? If so, how?

Comments only

Describe the issue

  72 passing (48s)
  2 failing

  1) Search with pagination
       Search with pagination run sample
         should contain next page token:
     AssertionError: expected 'Search start\nThe search operation re…' to match /Next page token/
      at Context.<anonymous> (interactive-tutorials/test/search-with-pagination.test.js:42:14)
      at process.processImmediate (node:internal/timers:483:21)

  2) Search with query expansion spec
       Search with query expansion spec sample result
         should contain expanded query:
     AssertionError: Search response does not contain query expansion info: expected null to be an object
      at Context.<anonymous> (interactive-tutorials/test/search-with-query-expansion-spec.test.js:105:15)
      at process.processImmediate (node:internal/timers:483:21)

Custard CI will run all tests in a particular subfolder, so these two tests are blocking merging of a number of comment only PRs:

This issue serves as a reference for use when disabling these failing tests to unblock these PRs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: retailIssues related to the Retail API API.priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions