Skip to content

Conversation

@sonic16x
Copy link
Contributor

No description provided.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 18, 2025

Open in StackBlitz

npm i https://pkg.pr.new/gemini-testing/testplane@1184

commit: a1eb649

});

describe("if set", () => {
describe.only("if set", () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

describe.only!!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

]),
parent: {
fullTitle: () => "Some parent",
tags: new Map([]),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be Set?

Also, as far as I can tell, the bug was that if parent has tag "smoke" and we ran testplane with !smoke, the test would still launch, because it was enough to get ok only from children. But here you just add an empty array, is this really sufficient to test the case we uncovered now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we use map for understanding dynamic tag or not, in key we have a tag name in value true or false

} else {
current = current.parent;
}
[...current.tags.keys()].forEach(item => allTags.add(item));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why keys()? I know it's an alias in set for values, or we actually use Map for tags? It's becoming hard to follow, i think we should use either Map or Set everywhere for tags.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

answered above

@sonic16x sonic16x merged commit 3481756 into master Dec 18, 2025
5 checks passed
@sonic16x sonic16x deleted the users/rocketraccoon/TESTPLANE-837.tags-no-oprator-fix branch December 18, 2025 10:03
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