i18n(ja) fix path Japanese Texts for Dev/Tests section (#3510)

This commit is contained in:
Vitor Ayres
2025-09-29 12:56:59 -03:00
committed by GitHub
parent 88c132300c
commit 605649b346
7 changed files with 10 additions and 10 deletions

View File

@@ -76,7 +76,7 @@ import TranslationNote from '@components/i18n/TranslationNote.astro';
## テスト
[WebdriverIO のテスト・スイート](/ja/develop/debug/tests/webdriver/example/webdriverio/#設定) とは異なり、Selenium にはテスト・スイートが付属しておらず、テスト・スイートの構築は開発者に任されています。
[WebdriverIO のテスト・スイート](/ja/develop/tests/webdriver/example/webdriverio/#設定) とは異なり、Selenium にはテスト・スイートが付属しておらず、テスト・スイートの構築は開発者に任されています。
ここでは [Mocha] を選択しました。Mocha は WebDrivers とは関係のない、比較的中立的なライブラリなので、スクリプトのすべてを正しい順序で設定するには少しばかり作業が必要になります。
[Mocha] はデフォルトで `test/test.js` にテスト・ファイルを用意する必要があります。では、早速作成してみましょう。
@@ -167,7 +167,7 @@ describe('Hello Tauri', () => {
もし「JS テスト・フレームワーク」に慣れ親しんでいる方であれば、`describe`、`it`、`expect` などは見覚えがあるはずです。また、mocha の設定(セットアップ)と解除(ティアダウン)を行なうための、やや複雑な`before()`と`after()`コールバックも用意されています。
テスト本体ではない行には、セットアップ・コードとティアダウン・コードを説明するコメントの記載があります。
[WebdriverIO のテスト仕様](/ja/develop/debug/tests/webdriver/example/webdriverio/#テスト仕様)の「Spec ファイル」に慣れている場合は、WebDriver 関連の項目をさらにいくつか設定する必要があるため、テスト以外のコードがより多くなっていることに気付くでしょう。
[WebdriverIO のテスト仕様](/ja/develop/tests/webdriver/example/webdriverio/#テスト仕様)の「Spec ファイル」に慣れている場合は、WebDriver 関連の項目をさらにいくつか設定する必要があるため、テスト以外のコードがより多くなっていることに気付くでしょう。
## テスト・スイートの実行
@@ -204,7 +204,7 @@ Done in 0.93s.
</TranslationNote>
[モデル・アプリケーションの基本設定]: /ja/develop/debug/tests/webdriver/example/
[モデル・アプリケーションの基本設定]: /ja/develop/tests/webdriver/example/
[selenium]: https://selenium.dev/ja/
[完成版モデル・プロジェクト]: https://github.com/chippers/hello_tauri
[mocha]: https://mochajs.org/

View File

@@ -211,7 +211,7 @@ Spec Reporter 部には、`test/specs/example.e2e.js` ファイルからの三
[WebdriverIO] テスト・スイートを使用することで、わずか数行の設定と一つのコマンド実行だけで、Tauri アプリケーションの e2e テストを簡単に実行できました! さらに素晴らしいのは、アプリケーションを一切修正する必要がなかったということです。
[モデル・アプリケーションの基本設定]: /ja/develop/debug/tests/webdriver/example/
[モデル・アプリケーションの基本設定]: /ja/develop/tests/webdriver/example/
[webdriverio]: https://webdriver.io/ja/
[完成版モデル・アプリケーション]: https://github.com/chippers/hello_tauri
[mocha]: https://mochajs.org/

View File

@@ -92,7 +92,7 @@ jobs:
working-directory: webdriver/webdriverio
```
[予め作成したテスト事例]: /ja/develop/debug/tests/webdriver/example/webdriverio/
[予め作成したテスト事例]: /ja/develop/tests/webdriver/example/webdriverio/
[webdriver]: https://www.w3.org/TR/webdriver/
[`tauri-driver`]: https://crates.io/crates/tauri-driver
[webdriverio]: https://webdriver.io/

View File

@@ -62,15 +62,15 @@ import { LinkCard, CardGrid } from '@astrojs/starlight/components';
<CardGrid>
<LinkCard
title="モデル・アプリケーションの基本設定"
href="/ja/develop/debug/tests/webdriver/example/"
href="/ja/develop/tests/webdriver/example/"
/>
<LinkCard
title="Selenium を利用する"
href="/ja/develop/debug/tests/webdriver/example/selenium/"
href="/ja/develop/tests/webdriver/example/selenium/"
/>
<LinkCard
title="WebdriverIO を利用する"
href="/ja/develop/debug/tests/webdriver/example/webdriverio/"
href="/ja/develop/tests/webdriver/example/webdriverio/"
/>
</CardGrid>
@@ -80,7 +80,7 @@ import { LinkCard, CardGrid } from '@astrojs/starlight/components';
<LinkCard
title="継続的インテグレーションCI"
href="/ja/develop/debug/tests/webdriver/ci/"
href="/ja/develop/tests/webdriver/ci/"
/>
<TranslationNote lang="ja">

View File

@@ -26,7 +26,7 @@ Deployment"継続的統合継続的展開の略。ランナーは、CI/
</TranslationNote>
[Mock Tauri APIs]: /ja/develop/tests/mocking/
[WebDriver]: /ja/develop/debug/tests/webdriver/
[WebDriver]: /ja/develop/tests/webdriver/
[tauri-action]: https://github.com/tauri-apps/tauri-action
<div style="text-align: right">