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

STCOR-864 correctly evaluate typeof stripes.okapi #1497

Merged
merged 3 commits into from
Jun 26, 2024
Merged

Conversation

zburke
Copy link
Member

@zburke zburke commented Jun 25, 2024

Stripes should render <ModuleContainer> either when discovery is complete or when okapi isn't present at all, i.e. when stripes.config.js doesn't even contain an okapi entry. What's most amazing about this bug is not the bug, which is a relatively simple typo, but that it didn't bite us for more than six years.

This bug was introduced in #153.

Refs STCOR-864

Stripes should render `<ModuleContainer>` either when discovery is
complete or when okapi isn't present at all, i.e. when
`stripes.config.js` doesn't even contain an `okapi` entry. What's most
amazing about this bug is not the bug, which is a relatively simple
typo, but that it didn't bite us for more than six years.

Refs STCOR-864
@zburke zburke requested review from skomorokh and JohnC-80 June 25, 2024 18:54
Copy link

github-actions bot commented Jun 25, 2024

Bigtest Unit Test Results

193 tests  ±0   188 ✅ ±0   6s ⏱️ ±0s
  1 suites ±0     5 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 253227c. ± Comparison against base commit 8185c89.

This pull request removes 5 and adds 3 tests. Note that renamed tests count towards both.
      equal to check email label in english translation
      equal to check email precautions label in english translation
      equal to sent email precautions label in english translation
Chrome_126_0_0_0_(Linux_x86_64).Forgot username/password status test check email status page tests ‑ Forgot username/password status test check email status page tests should have the header with an appropriate text content
Chrome_126_0_0_0_(Linux_x86_64).Forgot username/password status test check email status page tests ‑ Forgot username/password status test check email status page tests should have the paragraph with an appropriate text content
Chrome_126_0_0_0_(Linux_x86_64).Forgot username/password status test check email status page tests ‑ Forgot username/password status test check email status page tests should have the header with an appropriate text content
      equal to check email label in english translation
Chrome_126_0_0_0_(Linux_x86_64).Forgot username/password status test check email status page tests ‑ Forgot username/password status test check email status page tests should have the paragraph with an appropriate text content
      equal to check email precautions label in english translation
Chrome_126_0_0_0_(Linux_x86_64).Forgot username/password status test check email status page tests ‑ Forgot username/password status test check email status page tests should have the paragraph with an appropriate text content
      equal to sent email precautions label in english translation

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jun 25, 2024

Jest Unit Test Results

  1 files  ±0   39 suites  +1   49s ⏱️ +2s
291 tests +8  291 ✅ +8  0 💤 ±0  0 ❌ ±0 
292 runs  +8  292 ✅ +8  0 💤 ±0  0 ❌ ±0 

Results for commit 253227c. ± Comparison against base commit 8185c89.

♻️ This comment has been updated with latest results.

zburke added 2 commits June 25, 2024 16:40
BTOG init never conducted discovery, but _did_ pass an okapi object
during application setup, which is another way of saying that our
application didn't have anything that relied on the presence of this
bug, but our test suite did.
Copy link

@zburke zburke merged commit 2bb7586 into master Jun 26, 2024
26 checks passed
@zburke zburke deleted the STCOR-864-community branch June 26, 2024 15:04
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