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

fix: control buttons not present sometimes #2051

Merged
merged 1 commit into from
Dec 28, 2023

fix: control buttons not present sometimes

04f55cc
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix: control buttons not present sometimes #2051

fix: control buttons not present sometimes
04f55cc
Select commit
Loading
Failed to load commit list.
GitHub Actions / Backend Tests succeeded Dec 28, 2023 in 0s

Backend Tests ✅

Tests passed successfully

Report Passed Failed Skipped Time
backend/data/build/test-results/test/TEST-io.tolgee.security.authentication.JwtServiceTest.xml 10✅ 188ms
backend/data/build/test-results/test/TEST-io.tolgee.security.ratelimit.RateLimitServiceTest.xml 9✅ 120ms
backend/data/build/test-results/test/TEST-io.tolgee.security.RequestContextServiceTest.xml 5✅ 313ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.cachePurging.AzureContentStorageConfigCachePurgingTest.xml 1✅ 829ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.component.machineTranslation.LanguageTagConvertorTest.xml 1✅ 1ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.CoreImportFileProcessorUnitTest.xml 3✅ 564ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.KeysDistanceUtilTest.xml 1✅ 4ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.PathDTOTest.xml 5✅ 7ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.messageFormat.FormatDetectorTest.xml 2✅ 7ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.messageFormat.ToICUConverterTest.xml 8✅ 106ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.po.PoFileProcessorTest.xml 3✅ 22ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.po.PoParserTest.xml 1✅ 2ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.xliff.Xliff12FileProcessorTest.xml 3✅ 244ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.xliff.XliffFileProcessorTest.xml 1✅ 9ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.TextHelperTest.xml 4✅ 7ms
backend/data/build/test-results/test/TEST-io.tolgee.unit.util.SlugGeneratorTest.xml 8✅ 26ms
backend/data/build/test-results/test/TEST-io.tolgee.util.WordCounterTest.xml 2✅ 97ms

✅ backend/data/build/test-results/test/TEST-io.tolgee.security.authentication.JwtServiceTest.xml

10 tests were completed in 188ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.security.authentication.JwtServiceTest 10✅ 188ms

✅ io.tolgee.security.authentication.JwtServiceTest

✅ it rejects tokens emitted before user tokens validity period()
✅ it generates and understands tickets()
✅ it generates and understands tokens()
✅ it validates the type of the ticket()
✅ it rejects expired tickets()
✅ it ignores super powers when they are expired()
✅ it stores the super powers of tokens when it has them()
✅ it rejects invalid tokens and tickets()
✅ it stores arbitrary data in tickets()
✅ it rejects expired tokens()

✅ backend/data/build/test-results/test/TEST-io.tolgee.security.ratelimit.RateLimitServiceTest.xml

9 tests were completed in 120ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.security.ratelimit.RateLimitServiceTest 9✅ 120ms

✅ io.tolgee.security.ratelimit.RateLimitServiceTest

✅ it conditionally applies rate limit policies correctly when throwing exceptions()
✅ rate limit bucket is correctly defined for global user rate limit()
✅ authentication-limits config only affects authentication endpoint limits()
✅ it applies rate limit policies correctly()
✅ rate limit bucket is correctly defined for global public rate limit()
✅ global-limits config only affects global limits()
✅ rate limit bucket is correctly defined for global auth rate limit()
✅ endpoint-limits config only affects non-auth endpoint limits()
✅ it conditionally applies rate limit policies correctly()

✅ backend/data/build/test-results/test/TEST-io.tolgee.security.RequestContextServiceTest.xml

5 tests were completed in 313ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.security.RequestContextServiceTest 5✅ 313ms

✅ io.tolgee.security.RequestContextServiceTest

✅ it throws in implicit scenarios without an API key()
✅ it correctly detects the current organization()
✅ it correctly detects the current project()
✅ it correctly detects the current project in implicit scenarios()
✅ it correctly detects the current organization when using slugs()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.cachePurging.AzureContentStorageConfigCachePurgingTest.xml

1 tests were completed in 829ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.cachePurging.AzureContentStorageConfigCachePurgingTest 1✅ 829ms

✅ io.tolgee.unit.cachePurging.AzureContentStorageConfigCachePurgingTest

✅ correctly purges()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.component.machineTranslation.LanguageTagConvertorTest.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.component.machineTranslation.LanguageTagConvertorTest 1✅ 1ms

✅ io.tolgee.unit.component.machineTranslation.LanguageTagConvertorTest

✅ it converts correctly()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.CoreImportFileProcessorUnitTest.xml

3 tests were completed in 564ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.CoreImportFileProcessorUnitTest 3✅ 564ms

✅ io.tolgee.unit.CoreImportFileProcessorUnitTest

✅ stores key meta()
✅ finds proper existing language for imported language()
✅ handles conflicts properly()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.KeysDistanceUtilTest.xml

1 tests were completed in 4ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.KeysDistanceUtilTest 1✅ 4ms

✅ io.tolgee.unit.KeysDistanceUtilTest

✅ it works()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.PathDTOTest.xml

5 tests were completed in 7ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.PathDTOTest 5✅ 7ms

✅ io.tolgee.unit.PathDTOTest

✅ testFromNamePathList()
✅ testFromFullPath()
✅ testFromNamePath()
✅ testFromFullPathList()
✅ escaping()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.messageFormat.FormatDetectorTest.xml

2 tests were completed in 7ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.messageFormat.FormatDetectorTest 2✅ 7ms

✅ io.tolgee.unit.service.dataImport.processors.processors.messageFormat.FormatDetectorTest

✅ returns PHP format()
✅ returns C format()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.messageFormat.ToICUConverterTest.xml

8 tests were completed in 106ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.messageFormat.ToICUConverterTest 8✅ 106ms

✅ io.tolgee.unit.service.dataImport.processors.processors.messageFormat.ToICUConverterTest

✅ testPhpMessageWithFlags()
✅ testPhpPlurals()
✅ testPythonMessage()
✅ testCMessage()
✅ testPhpMessage()
✅ testPhpMessageKey()
✅ testPhpMessageMultiple()
✅ testPhpMessageEscapes()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.po.PoFileProcessorTest.xml

3 tests were completed in 22ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.po.PoFileProcessorTest 3✅ 22ms

✅ io.tolgee.unit.service.dataImport.processors.processors.po.PoFileProcessorTest

✅ processes standard file correctly()
✅ adds metadata()
✅ processes windows newlines()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.po.PoParserTest.xml

1 tests were completed in 2ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.po.PoParserTest 1✅ 2ms

✅ io.tolgee.unit.service.dataImport.processors.processors.po.PoParserTest

✅ returns correct parsed result()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.xliff.Xliff12FileProcessorTest.xml

3 tests were completed in 244ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.xliff.Xliff12FileProcessorTest 3✅ 244ms

✅ io.tolgee.unit.service.dataImport.processors.processors.xliff.Xliff12FileProcessorTest

✅ processes xliff 12 fast enough()
✅ handles errors correctly()
✅ processes xliff 12 file correctly()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.service.dataImport.processors.processors.xliff.XliffFileProcessorTest.xml

1 tests were completed in 9ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.service.dataImport.processors.processors.xliff.XliffFileProcessorTest 1✅ 9ms

✅ io.tolgee.unit.service.dataImport.processors.processors.xliff.XliffFileProcessorTest

✅ processes xliff 12 file()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.TextHelperTest.xml

4 tests were completed in 7ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.TextHelperTest 4✅ 7ms

✅ io.tolgee.unit.TextHelperTest

✅ replaces ICU params in standard text()
✅ splitOnNonEscapedDelimiter()
✅ replaces ICU params with escaping()
✅ replaces ICU params in text with params()

✅ backend/data/build/test-results/test/TEST-io.tolgee.unit.util.SlugGeneratorTest.xml

8 tests were completed in 26ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.unit.util.SlugGeneratorTest 8✅ 26ms

✅ io.tolgee.unit.util.SlugGeneratorTest

✅ throwsWhenTooHard()
✅ removesSpecialChars()
✅ testValidInput()
✅ testGenerateEmpty()
✅ addsNumbersAndShorten()
✅ shortenString()
✅ shortensAfterNumbers()
✅ removesAccents()

✅ backend/data/build/test-results/test/TEST-io.tolgee.util.WordCounterTest.xml

2 tests were completed in 97ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.util.WordCounterTest 2✅ 97ms

✅ io.tolgee.util.WordCounterTest

✅ returns ULocale from tag()
✅ counts words correctly()