Reenable API tests that were accidentally skipped (#4259)

* Reenable API tests that were accidentally skipped

* log get comment parent id failure
remove_ansible_tagging
Nutomic 5 months ago committed by GitHub
parent 0b2df3980f
commit 01aa17f38e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .gitignore
  2. 2
      api_tests/src/community.spec.ts
  3. 1
      api_tests/src/shared.ts

1
.gitignore vendored

@ -20,7 +20,6 @@ query_testing/**/reports/*.json
api_tests/node_modules
api_tests/.yalc
api_tests/yalc.lock
api_tests/test.png
api_tests/pict-rs
# pictrs data

@ -249,7 +249,7 @@ test("Admin actions in remote community are not federated to origin", async () =
expect(gammaPost2.post_view.creator_banned_from_community).toBe(false);
});
test.only("moderator view", async () => {
test("moderator view", async () => {
// register a new user with their own community on alpha and post to it
let otherUser = await registerUser(alpha, alphaUrl);

@ -863,6 +863,7 @@ export function getCommentParentId(comment: Comment): number | undefined {
if (split.length > 1) {
return Number(split[split.length - 2]);
} else {
console.log(`Failed to extract comment parent id from ${comment.path}`);
return undefined;
}
}

Loading…
Cancel
Save