diff --git a/README.md b/README.md index d4d414dd..5dc7aeb8 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ Generate your metrics that you can embed everywhere, including your GitHub profile readme! It works for both user and organization accounts, and even for repositories! +> *⚠️ This is the documentation of **v3.12-beta** (`@master` branch) which includes [unreleased features](https://github.com/lowlighter/metrics/compare/latest...master), see documentation of [**v3.11** (`@latest` branch) here](https://github.com/lowlighter/metrics/blob/latest/README.md).* + diff --git a/source/plugins/support/index.mjs b/source/plugins/support/index.mjs index 2427e45a..0e793c2b 100644 --- a/source/plugins/support/index.mjs +++ b/source/plugins/support/index.mjs @@ -62,7 +62,7 @@ export default async function({login, q, imports, data, account}, {enabled = fal { await page.goto(`https://github.community/u/${login}/badges`) const frame = page.mainFrame() - await frame.waitForSelector(".user-badges-list") + await frame.waitForSelector(".badge-group-list") const badges = await frame.evaluate(() => ({ uniques:[...document.querySelectorAll(".badge-card .badge-link")].map(el => el.innerText), multiples:[...document.querySelectorAll(".grant-count")].map(el => Number(el.innerText)), diff --git a/source/plugins/support/tests.yml b/source/plugins/support/tests.yml index 1158842b..609c062d 100644 --- a/source/plugins/support/tests.yml +++ b/source/plugins/support/tests.yml @@ -1,6 +1,5 @@ -# To comment out once #421 is solved -#- name: Support plugin (default) -# uses: lowlighter/metrics@latest -# with: -# token: MOCKED_TOKEN -# plugin_support: yes +- name: Support plugin (default) + uses: lowlighter/metrics@latest + with: + token: MOCKED_TOKEN + plugin_support: yes