Skip to content

Update tests for relaxed <select> parser #75

Update tests for relaxed <select> parser

Update tests for relaxed <select> parser #75

Triggered via pull request September 6, 2025 04:25
Status Failure
Total duration 1m 0s
Artifacts

downstream.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 33.tests7 - `<select><keygen>` (line 443): test/utils/generate-parsing-tests.ts#L111
AssertionError: Expected: ----------------- | <html> | <head> | <body> | <select> | <keygen> Actual: ----------------- | <html> | <head> | <body> | <select> | <keygen> : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:111:20
lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 14.tests18 - `<!doctype html><table><select><plaintext>a<caption>b` (line 240): test/utils/generate-parsing-tests.ts#L111
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <plaintext> | "a<caption>b" | <table> Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | "a" | <table> | <caption> | "b" : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:111:20
lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 13.tests18 - `<!doctype html><select><plaintext></plaintext>X` (line 227): test/utils/generate-parsing-tests.ts#L111
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <plaintext> | "</plaintext>X" Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | "X" : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:111:20
lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 17.tests10 - `<!DOCTYPE html><body><table><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux` (line 284): test/utils/generate-parsing-tests.ts#L111
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <svg svg> | <svg g> | "foo" | <svg g> | "bar" | <p> | "baz" | <table> | <p> | "quux" Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | "foobarbaz" | <table> | <p> | "quux" : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:111:20
lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 16.tests10 - `<!DOCTYPE html><body><table><tr><td><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux` (line 259): test/utils/generate-parsing-tests.ts#L111
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <table> | <tbody> | <tr> | <td> | <select> | <svg svg> | <svg g> | "foo" | <svg g> | "bar" | <p> | "baz" | <p> | "quux" Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <table> | <tbody> | <tr> | <td> | <select> | "foobarbaz" | <p> | "quux" : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:111:20
lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 4.tests10 - `<!DOCTYPE html><body><select><option><svg></svg></option></select>` (line 46): test/utils/generate-parsing-tests.ts#L111
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <option> | <svg svg> Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <option> : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:111:20
lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 3.tests10 - `<!DOCTYPE html><body><select><svg></svg></select>` (line 35): test/utils/generate-parsing-tests.ts#L111
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <svg svg> Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:111:20
lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 99.tests1 - `<select><b><option><select><option></b></select>` (line 1533): test/utils/generate-parsing-tests.ts#L111
AssertionError: Expected: ----------------- | <html> | <head> | <body> | <select> | <b> | <option> | <b> | <option> Actual: ----------------- | <html> | <head> | <body> | <select> | <option> | <option> : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:111:20
lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 29.tests1 - `<select><b><option><select><option></b></select>X` (line 355): test/utils/generate-parsing-tests.ts#L111
AssertionError: Expected: ----------------- | <html> | <head> | <body> | <select> | <b> | <option> | <b> | <option> | "X" Actual: ----------------- | <html> | <head> | <body> | <select> | <option> | <option> | "X" : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:111:20
lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 13.menuitem-element - `<!DOCTYPE html><select><menuitem></select>` (line 161): test/utils/generate-parsing-tests.ts#L111
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <menuitem> Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:111:20
nokogiri
Process completed with exit code 1.
html5gum
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
html5gum
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
html5gum
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
html5gum
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/