Conversation
|
🔄 AI PR Review sedang antri di server...
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
issue #1584
Deskripsi
Tarik Permintaan (Pull Request) ini mengimplementasikan Smoke Testing secara menyeluruh (Automated Browser Testing) menggunakan framework Pest dan plugin browser Playwright untuk 12 submenu di dalam modul Informasi.
Perubahan yang Dilakukan
tests/Browser/SmokeInformasiTest.phpyang mencakup 12 submenu Informasi secara dinamis melalui teknik Pest Datasets.data-testidpada tabel di masing-masing modul dan komponen antarmuka (resources/views/forms/aksi.blade.php,resources/views/forms/btn-social.blade.php) untuk mempermudah penargetan selektor pada browser testing.mime_type,deskripsi,lokasi, danfile_regulasi). Khusus untuk komponen Media Terkait, kami membuat cadangan sampel gambar statis secara dinamis agar terhindar dari HTTP 404 Exception selama pengetesan.access.informasi.artikel_kategori.edit) dan Komentar Artikel (access.informasi.komentar_artikel.delete) yang sebelumnya keliru menggunakan karakter hubung (dash).app.blade.phpdan komponen alertcomponents/swal-delete.blade.phpyang menyebabkan hambatan eksekusi Javascript (Cannot read properties of undefined (reading 'on')). Kami mengubah pemanggilanwindow.livewire.ondengan deteksi fallback ke objek globalLivewireyang sudah mendukung ekosistem Livewire v3.visit()berulang menggunakan helperSessionState::loginAndNavigate(). Ini memotong signifikan overhead durasi pengetesan dari~60 detikke rata-rata~18 detik.Submenu yang Diuji (12/12 Lolos)
Cara Menguji (Testing)
Jalankan perintah Artisan di bawah ini di dalam terminal lokal Anda untuk memverifikasi secara langsung:
Referensi & Status Kelulusan